There is a problem with using Opcache. At first glance it seems that OPcache is loaded normally.
When I look at php info() or php - v, they show normal values.
I run opcache checkers.
When I ran them, ocp.php will not display the main. OPcache.php displays an error.
I did not solve it in security.ini. I tried this next.
This also did not solve it.
I thought OPcache had no problem for a while, and I left it. I do not know when this state is since.
Please tell me how to solve this problem.
My envrionment:
CentOS 7.5 / Nginx 1.13.8 / PHP 7.1.21 / Plesk 17.8.11 #19
When I look at php info() or php - v, they show normal values.
I run opcache checkers.
OCP – Opcache Control Panel
OCP - Opcache Control Panel (aka Zend Optimizer+ Control Panel for PHP)#ocp #php #opcache #opcode #cache #zend #optimizerplus #optimizer+
OpCache-Status
rlerdorf/opcache-status
OCP - Opcache Control Panel (aka Zend Optimizer+ Control Panel for PHP)#ocp #php #opcache #opcode #cache #zend #optimizerplus #optimizer+
OpCache-Status
rlerdorf/opcache-status
When I ran them, ocp.php will not display the main. OPcache.php displays an error.
Warning: opcache_get_status() has been disabled for security reasons in /var/www/vhosts/MY-DOMAIN/httpdocs/opc/opcache.php on line 19
Warning: Invalid argument supplied for foreach() in /var/www/vhosts/MY-DOMAIN/httpdocs/opc/opcache.php on line 30
When I searched with that error, I found the following topics.Warning: Invalid argument supplied for foreach() in /var/www/vhosts/MY-DOMAIN/httpdocs/opc/opcache.php on line 30
Plesk 17.8.11 - PHP value "disable_functions" changed to default value "opcache_get_status"
Issue - Plesk 17.8.11 - PHP value "disable_functions" changed to default value "opcache_get_status"
Issue - Plesk 17.8.11 - PHP value "disable_functions" changed to default value "opcache_get_status"
I did not solve it in security.ini. I tried this next.
Unable to override the default value of "disable_functions" via global php.ini
Unable to override the default value of "disable_functions" via global php.ini
Unable to override the default value of "disable_functions" via global php.ini
This also did not solve it.
I thought OPcache had no problem for a while, and I left it. I do not know when this state is since.
Please tell me how to solve this problem.
My envrionment:
CentOS 7.5 / Nginx 1.13.8 / PHP 7.1.21 / Plesk 17.8.11 #19