First, prepare
wampserver2.5
PHP5 versions php5.2 to php5.6
apache2.2 and apache2.4
Second, installation
The first successful installation of wampserver2.5, if the installation is not successful, many are VC11 not installed well. To its official website to download, click on the download if not installed will download a TXT file, there is a VC download address.
I am directly download a apache2.2 installation program (note that the installation will wampserver exit), after the installation of the installed files copied a copy to the D:\software\wamp\bin\apache directory, and then put the previous security loading and unloading, Download Green can also, I have ready to install files on the lazy look.
Copy this file to apache2.2 in wampserver.conf (apache2.4 directory).
PHP copy is the same. See figure:
Copy the wampserver.conf (php5.5.12 directory ) file to the other PHP version directory.
Copy php.ini-development/php.ini-dist to Phpforapache.ini, replacing php.ini, and then Phpforapache.ini PHP, it is recommended that each version can be started properly before modifying the configuration.
Re-open, remember to reopen the wampserver, not restart the service. See if there are multiple versions of Apache and PHP version.
In fact the whole process and normal installation PHP and Apache difference is not particularly large.
If the wampserver does not start normally, it is generally illegal to start Apache, many of which is unable to load PHP extension reasons. Debugging method: In the cmd into the Apache bin directory, enter Httpd.exe direct return, will pop up is which extension is not loaded, and then view Apache is the error log.
Don't forget to configure apche2.2, such as modifying DocumentRoot.
If all can start normally, and sometimes switch but not succeed, pay attention to Apche and PHP switch order, this oneself grind.
Refer to the following: http://www.cnblogs.com/lyongde/p/3745030.html
I have uploaded apache2.2 and various versions of PHP to the Baidu cloud, you can download:
Http://pan.baidu.com/s/1ntpEQNn
Multiple versions can also be used with IIS, it needs to install a plugin Phpmanagerforiis this can be downloaded directly to the installation.
If the red box is gray, mostly fastcgi is not enabled, there is a hint that the fastcgi is not enabled, click on the link is its installation method.
If IIS and Apache are installed at the same time, the ports do not conflict.
Wampserver PHP Multiple Versions 5.2--5.6 and apche2.2/2.4