Answer the question
In order to leave comments, you need to log in
Will the Apache2 + PHP5(mod_php) + PHP7-FPM scheme work?
Hello! Tell me, will the Apache2 + PHP5(mod_php) + PHP7-FPM web server scheme work if I have a large number of users and sites? Those. As far as I know, PHP-FPM runs as a specific user (www-data by default), and if all sites belong to different users, then what should I do in this case?
Answer the question
In order to leave comments, you need to log in
and if all sites belong to different users, then what to do in this case?
Use docker.
There are 5 containers:
nginx-proxy working with upstream for 2 different sites
nginx container and php 5 for the first site
nginx container and php 7 for the second site
All this should be registered as docker services and run with 1 command.
And don't sweat it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question