Php version problems. The Integrated Environment XAMPP, wampp, and phpstudy can all be used. find a php version that can be switched.

Source: Internet
Author: User
Php version problems: the integrated environment XAMPP, wampp, and phpstudy can both be used to find a php version problem that can be switched to the php version. the integrated environment XAMPP, wampp, and phpstudy can both be used, find a php version that can be switched
This is the case. the company uses many frameworks, including ecshop, which is not compatible with php5.3, and can only use up to 5.2. The company uses yii and phalcon. the minimum version is 5.3. I can't use 5.2 at a time. I have to unmount it and set it to 5.3. I have to unmount the local database and re-import it, which is too troublesome. Is there any integration environment that can switch to the php version.


Reply to discussion (solution)

Ecshop can run normally in PHP5.3

PhpStudy has different version switching functions.
More combinations of new versions

In fact, switching the php version is just a few words in the web server
For example, in apache httpd. conf
PHPIniDir "/AMP/php54"
LoadModule php5_module "/AMP/php54/php5apache2_2.dll"

I switched the version by overwriting httpd. conf (both apache and MySQL are pure green)
A batch processing solves the problem, such

@ Echo offcopy/y php54 \ httpd. conf apache2 \ conf \ httpd. confcd \ start/B "Apache" "\ AMP \ apache2 \ bin \ httpd.exe" start/B "Mysql" \ AMP \ mysql \ bin \ mysqld.exe "-- defaults-file =" \ AMP \ mysql \ my. ini "start/B" Memcache "\ AMP \ memcached \ memcached.exe" start/B "Redis" \ AMP \ redis \ redis-server.exe"

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.