Applicable to:
- Plesk for Linux
Symptoms
-
After updating Plesk to version 18.0.71.2 many websites are reporting the following warning:
WARNING: [pool example.com] child 933098 said into stderr: "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"
-
The following setting exists in website's php-fpm configuration file:
# grep "opcache.enable" /opt/plesk/php/X.X/etc/php-fpm.d/example.com.conf
php_admin_value[opcache.enable] = 1 -
Same setting is defined in domain's
php.inifile:# grep "opcache.enable" /var/www/vhosts/system/example.com/etc/php.ini
opcache.enable = 1
Cause
Product issue:
-
#PPPM-15067 "Fixed the issue where âZend OPcache canât be temporary enabledâ errors appeared in the PHP-FPM error logs."
Fixed in:- Plesk Obsidian 18.0.72 19 August 2025 (Linux)
Resolution
Workaround
If update is not possible for some reason you may try the following
Fix was included in Plesk version 18.0.72.
If the issue persists after updating Plesk to the latest build, the following manual action is required:
- Connect to the server via SSH
-
Temporarily remove the conflicting setting with the following command:
# sed -i '/php_admin_value\[opcache\.enable\] = 1/d' /opt/plesk/php/*/etc/php-fpm.d/*
-
Restart PHP Handlers:
# systemctl restart plesk-php*-fpm.service
-
Run plesk repair utility to rebuild configuration files:
# plesk repair web -y
Comments
Please sign in to leave a comment.