Bug #80862 [Opn]: "Class not found" using Opcache & Xenforo

From: Date: Sun, 14 Mar 2021 11:57:55 +0000
Subject: Bug #80862 [Opn]: "Class not found" using Opcache & Xenforo
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-232703@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80862&edit=1 ID: 80862 User updated by: alex at ndros dot com Reported by: alex at ndros dot com Summary: "Class not found" using Opcache & Xenforo Status: Open Type: Bug Package: opcache -Operating System: Windows 2019 +Operating System: Windows Server 2019 PHP Version: 7.4.16 Block user comment: N Private report: N New Comment: Typo: we may get the same OR another class not found error. Previous Comments: ------------------------------------------------------------------------ [2021-03-14 11:55:21] alex at ndros dot com Description: ------------ Hi, We're using PHP 7.4.16 NTS with Opcache. We randomly get "class not found" errors with the software that we run (Xenforo 2.2). For example: Class 'XF\Mvc\Entity\Repository' not found This is solved after an IIS reset, but after a few minutes, we may get the same on another class not found error. Our Opcache config is: [OPCACHE] zend_extension = "php_opcache.dll" opcache.memory_consumption=256 opcache.cache_id=node1 opcache.error_log="D:\temp\php\opcache.log" opcache.validate_timestamps=1 opcache.revalidate_freq=30 opcache.interned_strings_buffer=32 opcache.save_comments=0 opcache.max_file_size=0 opcache.file_update_protection=2 ;opcache.file_cache_consistency_checks=0 // not used ;opcache.file_cache="D:\temp\php\opcache_filecache" // not used opcache.max_accelerated_files=10000 opcache.log_verbosity_level=4 opcache.blacklist_filename= "D:\inetpub\wwwroot\******.com\conf\opcache\opcache-blacklist.txt" opcache.enable_cli=1 opcache.max_wasted_percentage=10 Thank you Alex Test script: --------------- We haven't found a specific way to reproduce the issue. Expected result: ---------------- We haven't found a specific way to reproduce the issue. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=80862&edit=1

« previous php.bugs (#232703) next »