Submitted by runnerz on Tue, 02/25/2014 - 05:49
Hi,
Would it be possible to do something like this http://www.howtoforge.com/how-to-use-multiple-php-versions-php-fpm-and-f... in Virtualmin.
I have a customer that demands different PHP versions. So instead of having multiple hosts, I want to have multiple PHP version on the same host. I know that there is a solution to do it on CentOS, but as I see it it will only work with php-5.4 and php-5.3 my customer demands php-5.5. The solution from howtoforge (ispconfig) would be a really neat feature to have.
Best
Sune
Status:
Closed (fixed)
Comments
Submitted by andreychek on Tue, 02/25/2014 - 08:51 Comment #1
Howdy -- we have some outdated documentation here describing how to do that using one of the SCL repositories:
https://www.virtualmin.com/documentation/web/multiplephp
Unfortunately, the particular SCL repository it points to was closed down. But we're in the process of updating that documentation to use the CentOS SCL repository here:
http://wiki.centos.org/AdditionalResources/Repositories/SCL
That repository only provides PHP 5.4.x though.
However, if you use paths similar to what's used by the SCL repositories, you can manually compile and install PHP 5.5, and Virtualmin will detect that and allow you to use it.
Submitted by runnerz on Tue, 05/06/2014 - 07:59 Comment #2
Thanks for the response, I ended up creating a new server for each version of PHP needed. easier to maintain, without risk of breaking an entire server.