V
V
vista1x2018-01-28 10:26:15
PHP
vista1x, 2018-01-28 10:26:15

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

3 answer(s)
A
Alexander, 2018-01-28
@alexr64

What if I need different versions for different domains in Apache mode?

A rare case in itself. Here's an option.

T
Twelfth Doctor, 2018-01-28
@verdex

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.

O
OnYourLips, 2018-01-28
@OnYourLips

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 question

Ask a Question

731 491 924 answers to any question