Loading...
 

How to deactivate OPcache on ClearOS

OPCache is activated by default.

You should turn it off because of: https://github.com/WikiSuite/app-php-engines/issues/11

How to deactivate OPcache for PHP 7.2
sed -i -e 's/^opcache.enable *=.*/opcache.enable=0/' /etc/opt/rh/rh-php72/php.d/10-opcache.ini
systemctl restart rh-php72-php-fpm