Edit report at https://bugs.php.net/bug.php?id=78723&edit=1
ID: 78723 Updated by: php-b...@lists.php.net Reported by: v-altruo at microsoft dot com Summary: Opcache enabled but fails opcache_enabled check -Status: Feedback +Status: No Feedback Type: Bug Package: Testing related Operating System: Windows Server 2012 R2 PHP Version: 7.4.0RC4 Assigned To: cmb Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2019-10-23 08:53:31] c...@php.net This test failure hints at an OPcache startup failure, which can happen on Windows (especially on x86), if no proper opcache.file_cache is set or opcache.file_cache_fallback is disabled. In this case there should be a respective message in the log file, if one is set via opcache.error_log. ------------------------------------------------------------------------ [2019-10-22 21:43:30] v-altruo at microsoft dot com Test also fails (same output) for windows server 2019. However, for all builds whenever opcache is enabled. ------------------------------------------------------------------------ [2019-10-22 19:10:37] v-altruo at microsoft dot com Description: ------------ Test only fails for this windows operating system for x86 TS build with opcache enabled. Failed Test: ext\opcache\tests\001_cli.phpt Test script: --------------- --TEST-- 001: O+ works in CLI --INI-- opcache.enable=1 opcache.enable_cli=1 opcache.file_cache_only=0 --SKIPIF-- <?php require_once('skipif.inc'); ?> --FILE-- <?php $config = opcache_get_configuration(); $status = opcache_get_status(); var_dump($config["directives"]["opcache.enable"]); var_dump($config["directives"]["opcache.enable_cli"]); var_dump($status["opcache_enabled"]); ?> --EXPECT-- bool(true) bool(true) bool(true) Expected result: ---------------- bool(true) bool(true) bool(true) Actual result: -------------- bool(true) bool(true) bool(false) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=78723&edit=1