From: Dmitry Stogov Date: Thu, 9 Jul 2015 09:19:51 +0000 (+0300) Subject: Disable opcache.fast_shutdown if USE_ZEND_ALLOC=0 X-Git-Tag: php-7.1.1RC1~35^2~52 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b77fa94cf912ecbe03728cceede63ae1c863d1b1;p=php Disable opcache.fast_shutdown if USE_ZEND_ALLOC=0 --- diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c index 2234d5ee56..b1feb54a2c 100644 --- a/ext/opcache/ZendAccelerator.c +++ b/ext/opcache/ZendAccelerator.c @@ -2290,7 +2290,7 @@ static void accel_deactivate(void) ZCG(counted) = 0; #if !ZEND_DEBUG - if (ZCG(accel_directives).fast_shutdown) { + if (ZCG(accel_directives).fast_shutdown && is_zend_mm()) { zend_accel_fast_shutdown(); } #endif