Skip to content

PHP code snippet – How to disable opcache?

/etc/php5.5-sp/conf.d/opcache.ini
/etc/php5.6-sp/conf.d/opcache.ini
/etc/php7.0-sp/conf.d/opcache.ini
/etc/php7.1-sp/conf.d/opcache.ini
/etc/php7.2-sp/conf.d/opcache.ini
/etc/php7.3-sp/conf.d/opcache.ini
/etc/php7.4-sp/conf.d/opcache.ini

opcache.enable=0
sudo service php5.5-fpm-sp restart
See also  PHP code snippet - How set field after another field in migration in laravel?

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.