Wampserver Version 2.5 Bug modification, wampserverversion_php tutorial

Source: Internet
Author: User

Wampserver Version 2.5 bug Modified, wampserverversion


PHP Development is required to install the operating environment of PHP, in order to facilitate the Internet can be downloaded to a lot of integration environment, recently using Wampserver Version 2.5 found some bugs, share the method of modification. Master please pass by.

1, Echo date (' y-m-d h:i:s ');

You will find that the output time is different from the system time, open php.ini, search for date, and modify the following code:

Date.timezone = Asia/shanghai

Save and restart Apache. (This is a little knowledge, not a bug)

2, through the lower right corner of the shortcut to open httpd.conf, you will find this version of the Apache configuration file does not wrap

Workaround: Locate the directory where the Apache configuration file is located, open the httpd.conf file in the EditPlus tool, and then copy and paste it into the one that does not have a newline, save it. Restart OK.

3, localhost Home click on the directory will find the wrong path to jump, look at the link, found that the lack of localhost

Workaround: Open the WWW directory of the index.php, search for suppress_localhost, the found line of code to modify the following code:

$projectContents. = '

  • '. $file. '
  • ';

    Note (plus localhost/), OK.

    http://www.bkjia.com/PHPjc/1068249.html www.bkjia.com true http://www.bkjia.com/PHPjc/1068249.html techarticle wampserver Version 2.5 bug modification, wampserverversion do PHP development all need to install PHP running environment, for convenience, online can download to a lot of integration environment, recently used Wampser ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.