Bug #72111 [NEW]: `opcache_compile_file`æ æ³ç¼è¯
| From: | ljjgit at qq dot com | Date: | Wed, 27 Apr 2016 05:57:20 +0000 |
| Subject: | Bug #72111 [NEW]: `opcache_compile_file`æ æ³ç¼è¯ | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-200790@lists.php.net to get a copy of this message | ||
From: ljjgit at qq dot com
Operating system: windows 7
PHP version: 7.0.5
Package: opcache
Bug Type: Bug
Bug description:
opcache_compile_fileæ æ³ç¼è¯
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 bug report at https://bugs.php.net/bug.php?id=72111&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=72111&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=72111&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=72111&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=72111&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=72111&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=72111&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=72111&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=72111&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=72111&r=support
Expected behavior: https://bugs.php.net/fix.php?id=72111&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=72111&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=72111&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=72111&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=72111&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=72111&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=72111&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=72111&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=72111&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=72111&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=72111&r=mysqlcfg