go to bug id or search bugs for
the opcache extension is not present in php.ini dev and prod file. version affected is php 5.5.0 beta 1 windows build for x86 and x64 of all types. if the opcode extension should autoload its not loading and/or not present in the list of loaded extensions.
opcode dll is present, but not activated
Add a Patch
Add a Pull Request
manually adding the following line of code produces the attached error:
Warning PHP Startup: Invalid library (maybe not a PHP library) 'php_opcache.dll'
same effect using x86 and x64 build
changed from doc problem to bug due to this
updated php version tag
Use zend_extension= instead of extension= .
reopened to ask if opcache configuration details are going to be added to php.ini dev and prod patterns since that was my initial concern.
They should be added BUT they the opcache should be deactivated by default.
The fix for this bug has been committed.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.
I added the ini files BUT it will be still be disabled by default.
its ok that its still disabled by default, all i wanted are some documentation hints in php.ini patterns
thanks alot :)
this line, as provided by ab, works like a charm for x86 builds:
zend_extension = php_opcache.dll
nevertheless its not part of the commit done by dsp. did you just forget to add it or was it intended to not add it (even with a semicolon to have it not activated by default)?
in addition for x64 builds loading this zend extension crashes php on startup, but i might open a new bug ticket for that if the problem persists in a later beta.
Yes, please open another one for the x64 crash including the BT. This page can help with getting a useful BT https://bugs.php.net/bugs-generating-backtrace-win32.php . This ticket is done then, the opcache inclusion is being discussed right now on internals list.