We have a PHP web application we are deploying to a LAMP server running CentOS 5.5 using Capistrano. Capistrano manages switching to the latest version (and rolling back) using a symlink, so our document root has to point to that symlink.
Unfortunately, we have been seeing that web requests to the PHP application still point to the previous target of the document root's symlink for exactly 60 seconds after the symlink is updated.
The only setting in the PHP config I could find that might relate to this is the realpath_cache_ttl
setting, however this is set to 120 seconds. I couldn't find anything in apache's configuration.
We are not using APC.
Am I even looking in the right place?