Does a graceful Apache restart clear APC?

jodonnell picture jodonnell · May 7, 2010 · Viewed 13.4k times · Source

Will calling

$ httpd graceful

clear out the APC cache, or do I have to do a full-blown

$ httpd restart

to do it? (Keeping in mind that I know there are better ways to do it, like calling apc_clear_cache() programmatically).

Answer

ZZ Coder picture ZZ Coder · May 7, 2010

Both will clear APC cache.

You can also clear cache using the APC.php script.