|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #64473 opcache not documented in php.ini patterns
Submitted: 2013-03-21 03:32 UTC Modified: 2013-03-21 17:06 UTC
From: hajo at csphere dot eu Assigned: ab (profile)
Status: Closed Package: opcache
PHP Version: 5.5.0 beta 1 OS: windows x86 and x64
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: hajo at csphere dot eu
New email:
PHP Version: OS:


 [2013-03-21 03:32 UTC] hajo at csphere dot eu
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.

Expected result:
opcode working

Actual result:
opcode dll is present, but not activated


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2013-03-21 03:41 UTC] hajo at csphere dot eu
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
 [2013-03-21 04:02 UTC] hajo at csphere dot eu
updated php version tag
 [2013-03-21 04:02 UTC] hajo at csphere dot eu
-PHP Version: 5.5Git-2013-03-21 (Git) +PHP Version: 5.5.0 beta 1
 [2013-03-21 08:18 UTC]
Use zend_extension= instead of extension= .
 [2013-03-21 08:18 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: ab
 [2013-03-21 13:00 UTC] hajo at csphere dot eu
-Status: Closed +Status: Assigned
 [2013-03-21 13:00 UTC] hajo at csphere dot eu
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.
 [2013-03-21 14:36 UTC]
They should be added BUT they the opcache should be deactivated by default.
 [2013-03-21 14:53 UTC]
-Status: Assigned +Status: Closed
 [2013-03-21 14:53 UTC]
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

 For Windows:
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.
 [2013-03-21 15:08 UTC] hajo at csphere dot eu
-Summary: opcache not loading +Summary: opcache not documented in php.ini patterns
 [2013-03-21 15:08 UTC] hajo at csphere dot eu
its ok that its still disabled by default, all i wanted are some documentation hints in php.ini patterns

thanks alot :)
 [2013-03-21 15:57 UTC] hajo at csphere dot eu
-Status: Closed +Status: Assigned
 [2013-03-21 15:57 UTC] hajo at csphere dot eu
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.
 [2013-03-21 17:06 UTC]
-Status: Assigned +Status: Closed
 [2013-03-21 17:06 UTC]
Yes, please open another one for the x64 crash including the BT. This page can help with getting a useful BT . This ticket is done then, the opcache inclusion is being discussed right now on internals list.

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Oct 22 04:03:33 2021 UTC