075-845-490 | 097-165-2449
Line ID: @hostnakhonitech
🎉 โปรโมชั่นพิเศษ! ลด 10% สำหรับลูกค้าใหม่
NakhoniTech
075-845-490
support@NakhoniTech.com

Disable OPcache Per Site Print

  • 0

wordpress
Placing below line in your “settings.php” file will disable it.

1
ini_set('opcache.enable', '0');

However, I like the “.htaccess” method much better.

1
php_flag opcache.enable Off

The workaround is to disable the OPcache, which is enabled by default. It is a setting in php.ini file.

1
opcache.enable=0

Was this answer helpful?

« Back