Edit report at https://bugs.php.net/bug.php?id=64568&edit=1

 ID:                 64568
 Updated by:         johan...@php.net
 Reported by:        bugzilla77 at gmail dot com
 Summary:            opcache no loadable
-Status:             Feedback
+Status:             Not a bug
 Type:               Bug
 Package:            opcache
 Operating System:   windows
 PHP Version:        5.5.0beta1
 Block user comment: N
 Private report:     N

 New Comment:

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: 
http://news.php.net/php.internals/66909 everything else require major 
refactoring.

Closing this issue.


Previous Comments:
------------------------------------------------------------------------
[2013-04-03 11:00:21] 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 08:23:55] johan...@php.net

"extension" loads PHP modules, "zend_extension" loads Zend extensions. Those 
are different things so there are different directives.

------------------------------------------------------------------------
[2013-04-03 06:42:48] bugzilla77 at gmail dot com

Works,

but ini syntax for dlls is: extension=
not
zend_extension=

------------------------------------------------------------------------
[2013-04-02 21:22:51] s...@php.net

Try Beta 2 and use zend_extension=php_opcache.dll

------------------------------------------------------------------------
[2013-04-02 19:48:14] bugzilla77 at gmail dot com

Description:
------------
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


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=64568&edit=1

Reply via email to