Answer the question
In order to leave comments, you need to log in
Different PHP versions in ISP Manager?
What we have: VPS with ISPmanager Lite 5.135.1 installed on it. There are several sites, each of which needs PHP of different versions (in the panel itself, the necessary alternative PHP versions are installed for all modes - Apache, CGI, PHP-FPM)
As far as I understand, each domain can be set its own version of PHP, but only if select CGI mode. What if I need different versions for different domains in Apache mode? Whether it is possible to make it means of ISP?
Answer the question
In order to leave comments, you need to log in
What if I need different versions for different domains in Apache mode?
If you do not take into account that you have ISPManager installed, then you can use Docker containers, and using ISPManager you can only if PHP is running in CGI mode.
Run several php-fpm and set the required version in the server section of the nginx config in each site.
All this is very easy to do.
Apache also knows how to work with FPM: https://wiki.apache.org/httpd/PHP-FPM
But it's better, of course, to replace it with nginx.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question