Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to run PHP 5.3 next to PHP 5.4

Is there a way to run PHP 5.3 next PHP 5.4? I'd like it to run simultaneously under apache. I'd like to do that on Windows 7 (using Xampp) and on Ubuntu 12.04.

like image 466
Xander Avatar asked Nov 29 '25 08:11

Xander


2 Answers

Can you check with this link. Here they say about running multiple instance of PHP. Don't know whether it will work on Windows. Can you give a check on this.

PHP Multiple

like image 101
Sabari Avatar answered Nov 30 '25 21:11

Sabari


You can run PHP on Apache using CGI, and switch between versions by changing the CGI executable's path and restarting Apache.

like image 41
Samy Dindane Avatar answered Nov 30 '25 23:11

Samy Dindane



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!