Zend OPcache API is restricted by "restrict_api" configuration directive

This fix ‘should’ resolve your original issue. Can you please test? https://github.com/getgrav/grav/commit/c6c8577b6f21b9e9ee7292824fe2fab17595dc04