Edit report at https://bugs.php.net/bug.php?id=64630&edit=1
ID: 64630 Updated by: a...@php.net Reported by: alejosimon at gmail dot com Summary: Opcache failed to start on PHP x64 build Status: Open Type: Bug Package: opcache Operating System: Windows 7 Pro x64 PHP Version: 5.5.0beta3 Block user comment: N Private report: N New Comment: opcache.enable_cli=1 is the trick to bring it down > php_opcache.dll!create_segments(unsigned __int64 requested_size, > _zend_shared_segment * * * shared_segments_p, int * shared_segments_count, > char * * error_in) Line 266 C php_opcache.dll!zend_shared_alloc_try(const _handler_entry * he, int requested_size, _zend_shared_segment * * * shared_segments_p, int * shared_segments_count, char * * error_in) Line 130 C php_opcache.dll!zend_shared_alloc_startup(int requested_size) Line 196 C php_opcache.dll!accel_startup(_zend_extension * extension) Line 2458 C php5_debug.dll!zend_extension_startup(_zend_extension * extension) Line 154 C php5_debug.dll!zend_llist_apply_with_del(_zend_llist * l, int (void *) * func) Line 178 C php5_debug.dll!zend_startup_extensions(...) Line 176 C php5_debug.dll!php_module_startup(_sapi_module_struct * sf, _zend_module_entry * additional_modules, unsigned int num_additional_modules) Line 2207 C php.exe!php_cli_startup(_sapi_module_struct * sapi_module) Line 417 C php.exe!main(int argc, char * * argv) Line 1357 C php.exe!__tmainCRTStartup() Line 536 C php.exe!mainCRTStartup() Line 377 C Previous Comments: ------------------------------------------------------------------------ [2013-04-11 13:44:46] alejosimon at gmail dot com Yes! I do. ;-) look: ; http://php.net/extension-dir extension_dir = "./ext" [opCache] zend_extension = php_opcache.dll opcache.memory_consumption = 128 opcache.enable_cli = 1 ------------------------------------------------------------------------ [2013-04-11 13:34:12] paj...@php.net do you use zend_extension to load it in your php.ini? ------------------------------------------------------------------------ [2013-04-11 13:23:52] alejosimon at gmail dot com Description: ------------ Simply, opcache.dll extesión not start in x64 compiled version of PHP. Test script: --------------- <?php echo "not necessary" ; ?> Expected result: ---------------- A successful start. Actual result: -------------- Don't start. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=64630&edit=1