P
P
Pashok2016-03-20 01:29:12
PHP
Pashok, 2016-03-20 01:29:12

NGINX + PHP FPM How to run different versions of PHP for different users?

Hello!
There is a server that currently has NGINX + PHP-FPM as fastcgi. PHP version 5.6. Each individual site is created on the server under a new user. From here some questions:
1) How it is possible to install alongside PHP 5.6 also version PHP7?
2) Is it possible, as a result, in some config for the user to prescribe which version of PHP to run for him?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2016-03-20
@Gvozdb8

phpbrew or virtphp
here I gave an example of setting up NGINX + PHP-FPM for 2 versions of PHP using phpbrew.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question