For security reasons it's common to restrict the opcache API in shared webhosting environments.
Trying to install the latest git code of s9y I get warnings like:
Fatal error: Uncaught ErrorException: Warning: Zend OPcache API is restricted by "restrict_api" configuration directive in [path]/bundled-libs/voku/simple-cache/src/voku/cache/AdapterOpCache.php:32
(and a stack trace and a few more of the same kind)
There's usually no reason why an application should directly call into the opcache api. I reported this also upstream, it could be worked around:
https://github.com/voku/simple-cache/issues/19
I have not digged into why this dependency was introduced, but maybe given this was recently it's worthy a discussion. In any case: I wouldn't release it like that, as this will break in many shared hosting environments.
For security reasons it's common to restrict the opcache API in shared webhosting environments.
Trying to install the latest git code of s9y I get warnings like:
(and a stack trace and a few more of the same kind)
There's usually no reason why an application should directly call into the opcache api. I reported this also upstream, it could be worked around: https://github.com/voku/simple-cache/issues/19
I have not digged into why this dependency was introduced, but maybe given this was recently it's worthy a discussion. In any case: I wouldn't release it like that, as this will break in many shared hosting environments.