简体   繁体   中英

How to disable APC caching in PHP file

Is it possible to disable apc caching in a php file? By means of a php set function of some sort?

I want to disable caching for Magento's Indexer.php file so it doesn't use APC caching.

You can uninstall the module, or just disable it Adding the following line to the

.htaccess file: php_flag apc.cache_by_default Off

Also keep in mind that Indexer.php will be not Cached by APC if you run it via Cron job !

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM