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

From: Date: Wed, 05 Jun 2019 14:52:56 +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-221132@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:         martijn at squeezely dot tech
 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:

We're having the same issue with symfony on Ubuntu 18.04.2 after upgrading from 7.2.18 to
7.2.19

PHP 7.2.19-1+ubuntu18.04.1+deb.sury.org+1 (fpm-fcgi) (built: May 31 2019 11:17:15)
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.2.19-1+ubuntu18.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend
Technologies

It does not directly relate to Phpfastcache but can be any random class/file in the framework


Previous Comments:
------------------------------------------------------------------------
[2019-06-05 13:38:12] mbiebl at messageconcept dot com

7.3.6 seems to include that opcache commit as well https://github.com/php/php-src/commit/53c1b485741f31a17b24f4db2b39afeb9f4c8aba
but is not affected afaics.

------------------------------------------------------------------------
[2019-06-05 09:48:35] mbiebl at messageconcept dot com

I can offer to test such a build with that commit excluded (win, x86, NTS)

------------------------------------------------------------------------
[2019-06-05 07:08:20] sjon@php.net

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?

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

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


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 (#221132) next »