File tree Expand file tree Collapse file tree 5 files changed +16
-15
lines changed Expand file tree Collapse file tree 5 files changed +16
-15
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ PHP NEWS
16
16
- Opcache:
17
17
. Fixed bug #80404 (Incorrect range inference result when division results
18
18
in float). (Nikita)
19
+ . Fixed bug #80377 (Opcache misses executor_globals). (Nikita)
19
20
20
21
- Standard:
21
22
. Fixed bug #80366 (Return Value of zend_fstat() not Checked). (sagpant, cmb)
Original file line number Diff line number Diff line change @@ -190,12 +190,6 @@ dnl LIBZEND_OTHER_CHECKS
190
190
dnl
191
191
AC_DEFUN ( [ LIBZEND_OTHER_CHECKS] ,[
192
192
193
- AC_ARG_ENABLE ( [ zts] ,
194
- [ AS_HELP_STRING ( [ --enable-zts] ,
195
- [ Enable thread safety] ) ] ,
196
- [ ZEND_ZTS=$enableval] ,
197
- [ ZEND_ZTS=no] )
198
-
199
193
AC_MSG_CHECKING ( whether to enable thread-safety )
200
194
AC_MSG_RESULT ( $ZEND_ZTS )
201
195
Original file line number Diff line number Diff line change @@ -797,6 +797,19 @@ if test "$PHP_DEBUG_ASSERTIONS" = "yes"; then
797
797
ZEND_DEBUG=yes
798
798
fi
799
799
800
+ AC_ARG_ENABLE ( [ zts] ,
801
+ [ AS_HELP_STRING ( [ --enable-zts] ,
802
+ [ Enable thread safety] ) ] ,
803
+ [ ZEND_ZTS=$enableval] ,
804
+ [ ZEND_ZTS=no] )
805
+
806
+ if test "$ZEND_ZTS" = "yes"; then
807
+ AC_DEFINE ( ZTS , 1 ,[ ] )
808
+ PHP_THREAD_SAFETY=yes
809
+ else
810
+ PHP_THREAD_SAFETY=no
811
+ fi
812
+
800
813
PHP_ARG_ENABLE([ rtld-now] ,
801
814
[ whether to dlopen extensions with RTLD_NOW instead of RTLD_LAZY] ,
802
815
[ AS_HELP_STRING ( [ --enable-rtld-now] ,
@@ -1136,13 +1149,6 @@ LIBZEND_BASIC_CHECKS
1136
1149
LIBZEND_DLSYM_CHECK
1137
1150
LIBZEND_OTHER_CHECKS
1138
1151
1139
- if test "$ZEND_ZTS" = "yes"; then
1140
- AC_DEFINE ( ZTS ,1 ,[ ] )
1141
- PHP_THREAD_SAFETY=yes
1142
- else
1143
- PHP_THREAD_SAFETY=no
1144
- fi
1145
-
1146
1152
INCLUDES="$INCLUDES -I\$(top_builddir)/TSRM"
1147
1153
INCLUDES="$INCLUDES -I\$(top_builddir)/Zend"
1148
1154
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ if test "$PHP_OPCACHE" != "no"; then
66
66
esac
67
67
fi
68
68
69
- if test "$enable_zts " = "yes"; then
69
+ if test "$PHP_THREAD_SAFETY " = "yes"; then
70
70
DASM_FLAGS="$DASM_FLAGS -D ZTS=1"
71
71
fi
72
72
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ if test "$PHP_MM" != "no"; then
31
31
AC_MSG_ERROR ( cannot find mm library )
32
32
fi
33
33
34
- if test "$enable_zts " = "yes"; then
34
+ if test "$PHP_THREAD_SAFETY " = "yes"; then
35
35
dnl The mm library is not thread-safe, and mod_mm.c refuses to compile.
36
36
AC_MSG_ERROR ( -- with-mm cannot be combined with -- enable-zts )
37
37
fi
You can’t perform that action at this time.
0 commit comments