how to disable opcache 1

how to disable opcache


sudo service php5.5-fpm-sp restart

Here is what the above code is Doing:
1. It’s creating a new directory called /etc/php5.5-sp/conf.d/
2. It’s creating a new file called /etc/php5.5-sp/conf.d/opcache.ini
3. It’s adding the line opcache.enable=0 to the file /etc/php5.5-sp/conf.d/opcache.ini
4. It’s restarting the php5.5-fpm-sp service

The above code is for PHP 5.5. You’ll need to do the same for PHP 5.6, 7.0, 7.1, 7.2, 7.3, and 7.4.

Similar Posts