diff --git a/NEWS b/NEWS index 447f6eb8242..2fe64f4ad35 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,9 @@ PHP NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? ??? ????, PHP 7.3.8 +- Opcache: + . Fixed bug #78106 (Path resolution fails if opcache disabled during request). + (Nikita) 27 Jun 2019, PHP 7.3.7 diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c index 291cb828f21..d3d72ff1472 100644 --- a/ext/opcache/ZendAccelerator.c +++ b/ext/opcache/ZendAccelerator.c @@ -2360,7 +2360,6 @@ static void accel_activate(void) zend_alter_ini_entry_chars(key, "0", 1, ZEND_INI_SYSTEM, ZEND_INI_STAGE_RUNTIME); zend_string_release_ex(key, 0); zend_accel_error(ACCEL_LOG_WARNING, "Can't cache files in chroot() directory with too big inode"); - ZCG(accelerator_enabled) = 0; return; } } diff --git a/ext/opcache/tests/bug78106.phpt b/ext/opcache/tests/bug78106.phpt index 86c8acd3ae1..55cc53e7673 100644 --- a/ext/opcache/tests/bug78106.phpt +++ b/ext/opcache/tests/bug78106.phpt @@ -1,7 +1,5 @@ --TEST-- -Bug #78106: PHP Fatal error: Uncaught Error: Class 'Phpfastcache\Config\Config' not found ---XFAIL-- -Not fixed yet +Bug #78106: Path resolution fails if opcache disabled during request --FILE--