Bug #72111 [Opn->Fbk]: `opcache_compile_file`æ æ³ç¼è¯
| From: | ab@php.net | Date: | Sun, 01 May 2016 18:19:06 +0000 |
| Subject: | Bug #72111 [Opn->Fbk]: `opcache_compile_file`æ æ³ç¼è¯ | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-200852@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=72111&edit=1
ID: 72111
Updated by: ab@php.net
Reported by: ljjgit at qq dot com
Summary:
opcache_compile_fileæ æ³ç¼è¯
-Status: Open
+Status: Feedback
Type: Bug
Package: opcache
Operating System: windows 7
PHP Version: 7.0.5
Block user comment: N
Private report: N
New Comment:
Thanks for the report. I currently don't reproduce any notice when using your snippet and ini.
Seems need more info to reproduce.
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2016-04-27 05:57:14] ljjgit at qq dot com
Description:
------------
å¼å¯opcacheç¼åï¼ä½æ¯opcache_compile_fileæ æ³ç¼è¯çæç¼åæä»¶ï¼æç¤ºNotice:
Zend OPcache seems to be disabled, can't compile file in
C:\Users\Administrator\Desktop\opcode\script\web\compile.php on line 4
é
ç½®ï¼
Array
(
[directives] => Array
(
[opcache.enable] => 1
[opcache.enable_cli] => 1
[opcache.use_cwd] => 1
[opcache.validate_timestamps] =>
[opcache.inherited_hack] => 1
[opcache.dups_fix] =>
[opcache.revalidate_path] =>
[opcache.log_verbosity_level] => 1
[opcache.memory_consumption] => 67108864
[opcache.interned_strings_buffer] => 4
[opcache.max_accelerated_files] => 2000
[opcache.max_wasted_percentage] => 0.05
[opcache.consistency_checks] => 0
[opcache.force_restart_timeout] => 180
[opcache.revalidate_freq] => 1
[opcache.preferred_memory_model] =>
[opcache.blacklist_filename] =>
[opcache.max_file_size] => 0
[opcache.error_log] =>
C:/Users/Administrator/Desktop/opcode/php/runtime/log/opcache_error.log
[opcache.protect_memory] =>
[opcache.save_comments] => 1
[opcache.fast_shutdown] =>
[opcache.enable_file_override] =>
[opcache.optimization_level] => 2147467263
[opcache.file_cache] =>
C:/Users/Administrator/Desktop/opcode/php/runtime/opcache_file_cache
[opcache.file_cache_only] => 1
[opcache.file_cache_consistency_checks] =>
)
[version] => Array
(
[version] => 7.0.6-dev
[opcache_product_name] => Zend OPcache
)
[blacklist] => Array
(
)
)
Test script:
---------------
```php
(function () {
opcache_compile_file(__DIR__ . '/test.php'); //
test.phpæä»¶å
容é便
// print_r(opcache_get_status());
// phpinfo();
// var_dump(ini_get('opcache.enable'));
})();
```
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=72111&edit=1