Wait several minutes after change

staff

Verified User
Joined
Sep 19, 2007
Messages
118
Location
France
Hello,

I have a problem when I modify my php files and I upload, I have to wait several minutes for the changes to take effect. Why ?

Sorry I am French I speak bad English :(

thank you
 
that is because there is a some kind of a cache program installed like APC or Opcache, some CMS systems like Wordpress have a cache plugin, try to disable that, the first 2 are things that your hoster can arrange
 
Thank you for your answer my site does not use cache system by against a Opcache was install :(
 
Hello,

Opcache caches PHP scripts, so if you change PHP script the simplest way would be to restart apache/nginx or php-fpm to clear cache. Or disable OPcache per site or globally.
 
If you dont have root access to your server then you can not uninstall OPcache.
 
If I have the root access on my server but I do not know the command to uninstall Opcache
 
Back
Top