- 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 directives are defined in PHP settings that enable Opcache.
In Plesk, remove the code that enables Opcache or the duplicated directive
opcache.enable=1 at Domains > example.com > Websites & Domains > PHP Settings > Additional directives.
Alternatively, this can be done in the command-line interface:
Connect to a Plesk server via SSH.
Delete duplicated directive from