What are the negative consequences of PHP opcache.dups_fix?

806 views Asked by At

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. We have opcache.revalidate_freq set to 0, so every request should generate a check on the file, but it seems that at certain times, files are being included in the cache twice, generating the error.

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...

0

There are 0 answers