(solved) How to disable opcache?

I’m trying to disable OPCache since it isn’t compatible with my build system.

I’ve updated the php.ini.hbs within the php-8.0.0 to contain opcache.enable=0 but opcache is still enabled. What’s the process for disabling it?

EDIT: Solved by also removing these lines:

[opcache]
{{#if os.windows}}
; zend_extension = php_opcache.dll
{{else}}
; zend_extension = {{extensionsDir}}/opcache.so
{{/if}}

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.