|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64568 opcache no loadable
Submitted: 2013-04-02 19:48 UTC Modified: 2013-04-03 11:41 UTC
From: bugzilla77 at gmail dot com Assigned:
Status: Not a bug Package: opcache
PHP Version: 5.5.0beta1 OS: windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
3 + 26 = ?
Subscribe to this entry?

 [2013-04-02 19:48 UTC] bugzilla77 at gmail dot com
opcache no loadable

Test script:
php.ini add: extension=php_opcache.dll

Expected result:
opcache in phpinfo()

extension_loaded('opcache') returns true

Actual result:
no opcache in phpinfo()

extension_loaded('opcache') returns false


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2013-04-02 21:22 UTC]
-Status: Open +Status: Feedback
 [2013-04-02 21:22 UTC]
Try Beta 2 and use zend_extension=php_opcache.dll
 [2013-04-03 06:42 UTC] bugzilla77 at gmail dot com

but ini syntax for dlls is: extension=
 [2013-04-03 08:23 UTC]
"extension" loads PHP modules, "zend_extension" loads Zend extensions. Those are different things so there are different directives.
 [2013-04-03 11:00 UTC] bugzilla77 at gmail dot com
Add dll automatic detection (extension / Zend extension) for syntax unification.
From the user point view there is no difference.
 [2013-04-03 11:41 UTC]
There are a few differences, many you won'T really notice (load order, available internal hooks, ...) and some user notable (you can't use dl() on Zend Extensions, there's different reflection, ...) which won't allow easy unification. Especially as there are logical differences (Zend Extensions are loaded by and into the engine, and the engine is more or less independent from "PHP" where PHP extensions (modules) are loaded.

We'll most likely improve the error reporting in this situation: everything else require major refactoring.

Closing this issue.
 [2013-04-03 11:41 UTC]
-Status: Feedback +Status: Not a bug
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Oct 01 10:01:24 2023 UTC