I am trying to reset PHP opcache after a symlink-style deployment. There is the opcache_reset.php
file in my project which is executing by wget
after t
If you are for some reason not able to use fastcgi_param with $realpath_root
and using symlink style deployment, then try to set the opcache.revalidate_path = On
in your php ini configuration. I was not able to find any good documentation that explains how this ini directory works under the hood, but it did work after I changed the symlinks. Hope this helps anyone.