zendtech / ZendOptimizerPlus

Other
915 stars 142 forks source link

opcache.use_cwd = 0 reintroduces https://bugs.php.net/bug.php?id=48880 #94

Closed thelounge-zz closed 11 years ago

thelounge-zz commented 11 years ago

opcache.use_cwd = 0 reintroduces https://bugs.php.net/bug.php?id=48880 sorry for the original mistake saying set it to 1 makes the problem :-(

dstogov commented 11 years ago

As I remember, opcache.use_cwd = 0, means that OPcache doesn't consider file paths, so two files with the same names (e.g. /host1/index.php and /host2/index.php) may be messed. This option should be used only in particular cases when host runs just a single PHP application with unique file names.

Just set opcache.use_cwd = 1, I suppose, this is not a bug but the expected behavior. Agree?