Add multiple versions of PHP support under Wampserver ____php

Source: Internet
Author: User
Tags phpinfo vc9
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

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.