Bug #78106 [Com]: PHP Fatal error: Uncaught Error: Class 'Phpfastcache\Config\Config' not found
| From: | ani2life at gmail dot com | Date: | Thu, 06 Jun 2019 02:28:40 +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-221153@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: ani2life at gmail dot com
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: dmitry
Block user comment: N
Private report: N
New Comment:
I'm having a similar problem.
PHP-FPM 7.3.6 + Apache 2.4.38 + Ubuntu 18.04
If enable opcache and use require_once, it will Failed opening file.
But disable opcache or use require or PHP 7.3.5, it will OK.
Previous Comments:
------------------------------------------------------------------------
[2019-06-05 16:55:31] mbiebl at messageconcept dot com
I also tried php-7.2-nts-windows-vc15-x86-rad63bd1.zip, which seems to be the last successful build
before https://github.com/php/php-src/commit/5c4d125d4c2976236e2ecddd1d8c6e7b113ec482#diff-c71a95c83b8c6641638e6732d2264b55
No problems with this version, which would confirm that this commit is indeed the culprit
------------------------------------------------------------------------
[2019-06-05 16:42:39] mbiebl at messageconcept dot com
@cmb: I tried with php-7.2-nts-windows-vc15-x86-ra3e6b50.zip, problem is still reproducible
------------------------------------------------------------------------
[2019-06-05 16:24:05] cmb@php.net
@mbiebl, maybe you could test a recent snapshot[1]? (There have
been some failing builds, but ra3e6b50 should be good now.)
[1] <https://windows.php.net/downloads/snaps/php-7.2>
------------------------------------------------------------------------
[2019-06-05 15:18:12] nikic@php.net
@dmitry: Any ideas what could cause this?
------------------------------------------------------------------------
[2019-06-05 15:14:06] nikic@php.net
Fully list of commits in 7.2.19: https://github.com/php/php-src/compare/PHP-7.2.18...PHP-7.2.19
Very short, the already referenced https://github.com/php/php-src/commit/5c4d125d4c2976236e2ecddd1d8c6e7b113ec482
is the only one that looks at all relevant.
There was a later fix to this area that did not make it into 7.2: https://github.com/php/php-src/commit/fa6a4483e63d87608a839d04c6e1b9eed9a0430f
The thing is, these changes should only affect opcache restarts, not normal operation.
------------------------------------------------------------------------
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