From: Dmitry Stogov Date: Tue, 24 Nov 2020 22:10:26 +0000 (+0300) Subject: Revert "Fixed bug #80377" X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7fc2a3e15e55200883b9d96eca047ad1869b5cff;p=php Revert "Fixed bug #80377" This reverts commit fc26ad9b1220fdfd7db15ecaff5e7c38283c55b6. --- diff --git a/NEWS b/NEWS index 095c0efce8..1e2478cef9 100644 --- a/NEWS +++ b/NEWS @@ -16,7 +16,6 @@ PHP NEWS - Opcache: . Fixed bug #80404 (Incorrect range inference result when division results in float). (Nikita) - . Fixed bug #80377 (Opcache misses executor_globals). (Nikita) - Standard: . Fixed bug #80366 (Return Value of zend_fstat() not Checked). (sagpant, cmb) diff --git a/ext/opcache/config.m4 b/ext/opcache/config.m4 index 93d72fb73d..054cd28c02 100644 --- a/ext/opcache/config.m4 +++ b/ext/opcache/config.m4 @@ -66,7 +66,7 @@ if test "$PHP_OPCACHE" != "no"; then esac fi - if test "$PHP_THREAD_SAFETY" = "yes"; then + if test "$enable_zts" = "yes"; then DASM_FLAGS="$DASM_FLAGS -D ZTS=1" fi diff --git a/ext/session/config.m4 b/ext/session/config.m4 index da31bbde86..7abc8813b7 100644 --- a/ext/session/config.m4 +++ b/ext/session/config.m4 @@ -31,7 +31,7 @@ if test "$PHP_MM" != "no"; then AC_MSG_ERROR(cannot find mm library) fi - if test "$PHP_THREAD_SAFETY" = "yes"; then + if test "$enable_zts" = "yes"; then dnl The mm library is not thread-safe, and mod_mm.c refuses to compile. AC_MSG_ERROR(--with-mm cannot be combined with --enable-zts) fi