Reputation: 1244
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.
Upvotes: 3
Views: 2450
Reputation: 18716
You can run PHP on Apache using CGI, and switch between versions by changing the CGI executable's path and restarting Apache.
Upvotes: 2
Reputation: 4023
It's possible to have multiple versions of PHP installed. With IIS it's fairly easy to swap from one to the other, and it should be possible to do this in Apache as well. However I don't know how one web-server could support multiple instances simultaneously.
Hopefully these links will be of some help:
How to setup multiple PHP versions on Apache
Running Multiple Apache Instances
Upvotes: 1
Reputation: 6345
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.
Upvotes: 2