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

From: Date: Wed, 05 Jun 2019 07:08:20 +0000
Subject: Bug #78106 [Com]: 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-221127@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
 Comment by:         sjon@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:            opcache
 Operating System:   Windows Server 2016 / IIS 10
 PHP Version:        7.2.19
 Assigned To:        pollita
 Block user comment: N
 Private report:     N

 New Comment:

the only difference between 7.2.18 and 7.2.19 in ext/opcache is https://github.com/php/php-src/commit/5c4d125d4c2976236e2ecddd1d8c6e7b113ec482#diff-c71a95c83b8c6641638e6732d2264b55
- maybe it makes sense to create a windows build that excludes that commit to see if it still
happens?


Previous Comments:
------------------------------------------------------------------------
[2019-06-04 21:59:49] cmb@php.net

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?

------------------------------------------------------------------------
[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.

------------------------------------------------------------------------


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


Thread (47 messages)

« previous php.bugs (#221127) next »