Bug #78106 [Asn]: PHP Fatal error: Uncaught Error: Class 'Phpfastcache\Config\Config' not found

From: Date: Tue, 04 Jun 2019 21:59:49 +0000
Subject: Bug #78106 [Asn]: PHP Fatal error: Uncaught Error: Class 'Phpfastcache\Config\Config' not found
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-221125@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78106&edit=1 ID: 78106 Updated by: cmb@php.net Reported by: mbiebl at messageconcept dot com Summary: PHP Fatal error: Uncaught Error: Class 'Phpfastcache\Config\Config' not found Status: Assigned Type: Bug -Package: *General Issues +Package: opcache Operating System: Windows Server 2016 / IIS 10 PHP Version: 7.2.19 -Assigned To: cmb +Assigned To: pollita Block user comment: N Private report: N New Comment: Thanks! Bug #78103 (and maybe bug #78101) also reports an Opcache related regression in PHP 7.2.19 (but not PHP 7.3.6), which *might* be related. Sara, could you please have a look at this? Previous Comments: ------------------------------------------------------------------------ [2019-06-04 21:40:59] mbiebl at messageconcept dot com After removing ``` zend_extension=php_opcache.dll opcache.enable_cli=1 opcache.enable=1 ``` from php.ini the problem seems to be gone. So it does indeed look like the problem is related to opcache. ------------------------------------------------------------------------ [2019-06-04 21:21:26] cmb@php.net Does this happen with and without Opcache being enabled? ------------------------------------------------------------------------ [2019-06-04 19:34:51] mbiebl at messageconcept dot com As one more data point: 7.3.6 does not seem to be affected ------------------------------------------------------------------------ [2019-06-04 18:54:29] mbiebl at messageconcept dot com The setup is identical between 7.2.18 and 7.2.19. The application is unchanged, php.ini is the same. The PHP version I'm using is the Windows x86 NTS build. IIS uses PHP via FCGI. The application is a CardDAV server built on top of sabre/dav. I tried to create a minimal test case which simply does ``` <?php require_once 'vendor/autoload.php'; $config = new \Phpfastcache\Config\Config(); ``` but this works just fine and doesn't trigger the fatal error, so I'm a bit stuck at providing a minimal test case. What I can do offer to do, is to try test builds. Unfortunately I don't have the toolchain to build those windows binaries myself, but if you can provide such binaries, we could do a git bisect run this way. Other then that, I'd be glad to provide you with more information or try any debugging steps. Just let me know. ------------------------------------------------------------------------ [2019-06-04 18:14:01] requinix@php.net I don't see anything in the 7.2.19 changelog that looks relevant, and it's going to be hard to reproduce and test without being able to see it happening... How much debugging have you done? Is the autoloader running? Can it locate the class/file? What happens if you require() the file manually? Does the 7.2.19 setup exactly match the 7.2.18 setup? What else is changing besides the version of PHP? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=78106 -- Edit this bug report at https://bugs.php.net/bug.php?id=78106&edit=1

« previous php.bugs (#221125) next »