php (1382:6c8b10bbb4e8) php (1383:b4fbf38ef975)
1
2# Copyright (C) Max Romanov
3# Copyright (C) Igor Sysoev
4# Copyright (C) NGINX, Inc.
5
6
7shift
8

--- 144 unchanged lines hidden (view full) ---

153if [ $nxt_found = no ]; then
154 $echo
155 $echo $0: error: no PHP embed SAPI found.
156 $echo
157 exit 1;
158fi
159
160
1
2# Copyright (C) Max Romanov
3# Copyright (C) Igor Sysoev
4# Copyright (C) NGINX, Inc.
5
6
7shift
8

--- 144 unchanged lines hidden (view full) ---

153if [ $nxt_found = no ]; then
154 $echo
155 $echo $0: error: no PHP embed SAPI found.
156 $echo
157 exit 1;
158fi
159
160
161nxt_feature="PHP Zend Thread Safety"
162nxt_feature_name=""
163nxt_feature_run=no
164nxt_feature_incs="${NXT_PHP_INCLUDE}"
165nxt_feature_libs="${NXT_PHP_LIB} ${NXT_PHP_LDFLAGS}"
166nxt_feature_test="
167 #include <php.h>
168 #include <php_main.h>
169
170 int main() {
171 #ifndef ZTS
172 #error ZTS is not defined.
173 #endif
174 return 0;
175 }"
176
177. auto/feature
178
179
161# Bug #71041 (https://bugs.php.net/bug.php?id=71041).
162
163nxt_feature="PHP zend_signal_startup()"
164nxt_feature_name=""
165nxt_feature_run=no
166nxt_feature_incs="${NXT_PHP_INCLUDE}"
167nxt_feature_libs="${NXT_PHP_LIB} ${NXT_PHP_LDFLAGS}"
168nxt_feature_test="

--- 92 unchanged lines hidden ---
180# Bug #71041 (https://bugs.php.net/bug.php?id=71041).
181
182nxt_feature="PHP zend_signal_startup()"
183nxt_feature_name=""
184nxt_feature_run=no
185nxt_feature_incs="${NXT_PHP_INCLUDE}"
186nxt_feature_libs="${NXT_PHP_LIB} ${NXT_PHP_LDFLAGS}"
187nxt_feature_test="

--- 92 unchanged lines hidden ---