Typically, APC will βstatizeβ each PHP file to see if it has changed since the last caching. Therefore, restarting Apache is not required for all application updates.
BUT, if your application uses apc_store () to store application data in the cache, and some of this data may change after the upgrade, restarting Apache is an easy way to clear the entire APC cache.
I believe apache2ctl graceful will work too.
In addition, APC works a little better if you disable the "stat" check; therefore, if you disable this feature, you will still want to restart Apache.
source share