Bug #69200 [Opn]: opcache_compile_file

From: Date: Sat, 07 Mar 2015 17:13:36 +0000
Subject: Bug #69200 [Opn]: opcache_compile_file
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-191234@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69200&edit=1

 ID:                 69200
 Updated by:         laruence@php.net
 Reported by:        stephane dot vannerom at gmail dot com
 Summary:            opcache_compile_file
 Status:             Open
 Type:               Bug
 Package:            opcache
 Operating System:   Windows 8
 PHP Version:        5.6.6
 Block user comment: N
 Private report:     N

 New Comment:

set opcache.enable=1 in your php.ini


Previous Comments:
------------------------------------------------------------------------
[2015-03-07 16:16:49] stephane dot vannerom at gmail dot com

Description:
------------
opcache_compile_file fails

OPCache module is 'up and running' when displaying phpinfo();



Test script:
---------------
echo (opcache_reset()) ? '<br/>cache reset complete<br />' : '<br
/>unable to reset cache<br />' ;
echo (opcache_compile_file(__FILE__)) ? __FILE__ . ': compiled successfully<br />' :
__FILE__ . ': compile failed<br />';

Expected result:
----------------
I expected the file was compiled

Actual result:
--------------
cache reset complete

Notice: Zend OPcache seems to be disabled, can't compile file in
C:\wamp\www\optisimpleorgdev\public\admin\osc.php on line 29
C:\wamp\www\optisimpleorgdev\public\admin\osc.php: compile failed


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



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


Thread (5 messages)

« previous php.bugs (#191234) next »