Zend OPcache API is restricted by "restrict_api" configuration directive

Hello,
I’ve just deployed a website (running the latest version of October CMS) on OVH, but I’m getting this error “Zend OPcache API is restricted by “restrict_api” configuration directive”. Is there a configuration setting I need to change in October?

Thanks

Your hosting company is restricting this.

Do they use the control panel DirectAdmin?

Cheers

I found the solution: you need to set force_bytecode_invalidation to false in the file.config/cms.php

1 Like