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.