Disable or remove apc

纵饮孤独 提交于 2019-12-03 15:16:17

Change :

extension=apc.so

By :

;extension=apc.so

In :

/etc/php5/apache2/conf.d/apc.ini

And restart Apache server :

apache2ctl graceful
Cheetah

You can enter the following command with root permission:

pecl uninstall apc

apc.enabled can be set to 0 to disable APC from php.ini Than restart your web server or php-fpm.

you can use following script then put it on 1st line of your php file,

apc_clear_cache();
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!