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"