Is it possible to set opcache options per site in Apache? I'm trying to disable it via local php.ini in site directory or site config file but it is always enabled. After every config change I restarted Apache and PHP fpm service to apply new config.
Asked
Active
Viewed 175 times
0
-
How is PHP called from apache? – Simon Greenwood Dec 11 '17 at 12:03
-
PHP is executed via module in Apache – QkiZ Dec 11 '17 at 16:32
-
You will have to stop using mod_php and migrate to mod_proxy & mod_proxy_fcgi -> php-fpm. In the process you will be able to change the mpm you are using in httpd to event, so it's a win win. – Daniel Ferradal Dec 11 '17 at 16:54