How to implement different PHP settings for websites?

Hello! Have Apache 2 + Nginx + PHP in CGI mode. How to make for each site (virtual host) settings of PHP?
July 2nd 19 at 17:52
2 answers
July 2nd 19 at 17:54
Solution
July 2nd 19 at 17:56
To use PHP-FPM
He eats a lot of memory, if I'm not mistaken. And ISPManager with multiple versions in mode, php-fpm is not friendly. - Glennie_Beie commented on July 2nd 19 at 17:59
: he eats Maniche memory than Apache

Don't use managers who made that dictate what software I use - marilyne_Roh commented on July 2nd 19 at 18:02
: es at all fierce. and that's all that I've seen, at least to commit to something. can suggest the most relaxed in this regard? - albin.Block commented on July 2nd 19 at 18:05
: no, I use ssh and console - marilyne_Roh commented on July 2nd 19 at 18:08
: Yes, I, too, do not believe that it exists. although theoretically it could. I myself have invented a way to do everything faster. tired to climb on the servers, keep in mind where there is that edit with Vim. created in the storm project, it is created on each server on the folder and Samuel it on the / each server to fill SFTP. https://i.gyazo.com/a0eb92f1ab9fcbc73aaf3f58d5a4a0... on the server, logged under root. understand that this is actually a farm and not right, but it saves time. especially when you want some config skopipastit from one to the other - albin.Block commented on July 2nd 19 at 18:11
: a lot of servers = ansible - marilyne_Roh commented on July 2nd 19 at 18:14

Find more questions by tags PHPApache