|  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
 [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-2021 The PHP Group
All rights reserved.
Last updated: Thu Dec 02 19:03:38 2021 UTC