- Plesk for Linux
A lot of messages like below appear in the
CONFIG_TEXT: WARNING: [pool example.com] child 11485 said into stderr: "ERROR: Unable to set php_value'opcache.enable'"
WARNING: [pool example.com] child 26863 said into stderr: "NOTICE: PHP message: PHP Warning: Zend OPcache can't be temporary enabled (it may be only disabled till the end of request) in Unknown on line 0"
Duplicated PHP OPcache directive is defined in domain's PHP settings.
The OPcache directive is pre-defined by Plesk in domain's PHP Settings and is enabled by default.
In Plesk, remove the code that enables OPcache or the duplicated directive
opcache.enable=1 at Domains > example.com > PHP Settings > Additional directives.