Wampserver
According to the version I downloaded, php5.5.12 has been installed by default, as shown below-1
Figure-1
Note the two special documents in Figure 2 below: Phpforapache.ini wampserver.conf
Figure-2 download PHP binary package
http://windows.php.net/download/
PHP currently offers PHP5.4, PHP5.5, PHP5.6 versions,
and unzip the binary zip package to the php5.5.12-sibling directory, as shown in Figure 1
PS
When downloading PHP here, note that
x86 or x64 //Architecture processor_architecture
thread Save or Non thread save//thread Safet Y enabled
//VC 11/9/6//This is the need to install in your Windows compiler
//These will affect whether you can successfully install your downloaded PHP binaries
VC6 is what
VC6 is legacy Visual Studio 6 compiler is what VC9 is compiled with this compiler
VC9 is the
Visual Studio 2008 compiler, which is compiled with the Microsoft VS Editor
/ Phpinfo
Compiler MSVC9 (Visual C + + 2008)
Compiler MSVC11 (Visual C + +)
/program
Microsoft Visual C + + Redistributable (x86)-11.0.61030
Microsoft Visual C + + redistributable (x64)-11.0.6 1030
Microsoft Visual C + + 2008 Redistributable (x64)-9.0.30729.4148
Microsoft Visual C + + 2008 (x64)-9.0.30729.4148
//This information can be exported phpinfo eg:
architecture x86 #
x86 x64 RE x86 # x86
thread Safety enabled # TS TS--NTS NTS--Thread safe Non thread safe
increase PHP support for multiple versions
Copy php5.5.12 under the wampserver.conf files to the PHP version of the directory, of course, in the actual operation of the process,
is generally one to come;
Take php5.6.10 as an example, the copy directory under the Php.ini-development and renamed to Phpforapache.ini,
according to their own needs to modify the PHP environment in Phpforapache.ini parameters ( Recommended temporarily do not move inside the configuration directly save it can be saved exit
//Other version to add similar
TestRestart the Apache Service restart all Services to switch versions directly in PHP Version//If you have configured a PHP version to reopen the Wampserver manager
If the test goes well, success is shown below:
Figure-3