Welcome! Log In Create A New Profile

Advanced

[PHP] opcache.dups_fix

Posted by Joe Koenig 
Joe Koenig
[PHP] opcache.dups_fix
August 29, 2017 06:10PM
Greetings,

Does anyone know much about the opcache option opcache.dups_fix? The
documentation states "This hack should only be enabled to work around
"Cannot redeclare class" errors." We are seeing said errors that can
really only be attributed to an opcache problem. It happens after
deployments, for 1-2 seconds, and the error log will list two different
version of files. We have opcache.revalidate_freq set to 0, so every
request should generate a check on the file.

I'm mainly curious in the potential side effects of enabling the
dups_fix option. Sounds like the solution to our problem, but the
wording in the documentation isn't real encouraging...

Thanks,

--
Joe Koenig
Brecht's Database Solutions
888-437-9326
joe@poweriep.com
http://www.poweriep.com/


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sorry, only registered users may post in this forum.

Click here to login