Added multi-version PHP (PHP5.3, PHP5.4, and PHP5.5) support under WAMPSERVER.

Source: Internet
Author: User
Added multi-version PHP (PHP5.3, PHP5.4, and PHP5.5) support under WAMPSERVER ., WAMPServerDevelopers can quickly build a WAMP environment in Windows. it supports switching between multiple versions of Apache, MySQL, and PHP without affecting each other. it is extremely convenient and fast for PHPer developers.

The following steps support PHP5.3, PHP5.4, PHP5.5, and PHP5.6 in WAMPServer:

1. install WAMPServer

Select the appropriate WAMP version based on your operating system, I choose here WAMPSERVER-32 BITS & PHP 5.5-2.5, double-click the installation, select the installation directory, super simple.

According to my installed version, PHP5.5.12 is installed by default. for example, you can find two additional special files:PhpForApache. ini,Wampserver. conf.

2. download the PHP binary package

PHP currently provides PHP5.3, PHP5.4, PHP5.5, PHP5.6 version, because I installed WAMPSERVER-32 BITS, so the corresponding PHP version can only be 32-bit,Windows PHPDownload the TS version (Thread-Safe-VC9-X86) Corresponding PHP binaryZIPPackage, and decompress the binary package to the WAMP installation directory, such as D: \ wamp_2 \ bin \ php.

3. added support for multiple PHP versions.

Copy the wampserver. conf file under php5.5.12 with reference to my installation directory.ToDirectories of PHP versions;

Using php5.6.3 as an example, copyPhp. ini-developmentAnd rename itPhpForApache. iniModify the PHP environment parameters in phpForApache. ini as required, save and exit;

You have added PHP5.6.3 and later versions.

4. select the PHP runtime environment

Open the WAMPServer manager and select the PHP version environment you want to run.

 

Above.

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.