pagekit
pagekit copied to clipboard
Zend OPcache API is restricted by "restrict_api"
Problem
Once restrict_api is enabled, the setup of Pagekit does not work. The installer throws
Zend OPcache API is restricted by "restrict_api" in app/installer/src/Installer.php on line 40.
Checking this out, the following lines are causing this error:
if (function_exists('opcache_reset')) {
opcache_reset();
}
A possible solution could be to check, if opcache.restrict_api is returning something or not.
Technical Details
- Pagekit version: 1.0.13
- Webserver: Apache 2.4
- Database: SQLite
- PHP Version: 7.1