PHP--Add multiple versions of PHP (PHP53,PHP54,PHP55) support under Wampserver. Wampserver 64 Download wampserver Chinese official website wampserver32-bit download

Source: Internet
Author: User
Reprint Please specify source: http://blog.csdn.net/l1028386804/article/details/51407450

Wampserver allows developers to quickly build a wamp environment under Windows, which supports multiple versions of Apache, MySQL, and PHP to switch between each other, and is extremely convenient and fast for phper developers.

Here are the steps to support PHP5.3, PHP5.4, PHP5.5, and PHP5.6 at the same time under Wampserver:

1, installation Wampserver

Choose the appropriate WAMP version according to your operating system, I choose WAMPSERVER-32 BITS & PHP 5.5-2.5, double-click the installation, choose the installation directory, super simple.

According to the version I installed, PHP5.5.12 has been installed by default, for example, you can find two extra files:phpforapache.ini,wampserver.conf.

2, download PHP binary package

PHP currently provides PHP5.3, PHP5.4, PHP5.5, PHP5.6 versions, because I installed WAMPSERVER-32 BITS, so the corresponding PHP version can only be 32-bit, to Windows PHP downloads the TS version (thread-safe-vc9-x86) corresponding to the PHP binary zip package, and unzip the binary package to the Wamp installation directory, such as D:\wamp_2\bin\php.

3. Added support for PHP multi-version

In my installation directory as a reference, copy php5.5.12 under the wampserver.conf file to PHP version of the directory;

Take php5.6.3 as an example, copy the php.ini-development under the directory and rename it to Phpforapache.ini, According to their own requirements to modify the PHP environment parameters in the Phpforapache.ini, save exit;

The above completed the addition of the PHP5.6.3 version, other versions are added similar.

4. Select PHP Operating Environment

Reopen the Wampserver Manager and select the version of PHP environment you want to run.

At this point, the configuration is complete

This is the introduction of PHP-in Wampserver under the addition of multiple versions of PHP (PHP53,PHP54,PHP55) support. , including the content of the wampserver, I hope to be interested in PHP tutorial friends helpful.

  • 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.