PHP: fixed compatibility with ZTS.

This closes #184 issue on GitHub.
This commit is contained in:
Valentin Bartenev
2018-11-21 18:22:19 +03:00
parent 39cd4a9dee
commit adf22b6a0d
2 changed files with 26 additions and 7 deletions

View File

@@ -111,7 +111,7 @@ if /bin/sh -c "${NXT_PHP_CONFIG} --version" >> $NXT_AUTOCONF_ERR 2>&1; then
#include <php_main.h>
int main() {
php_request_startup();
php_module_startup(NULL, NULL, 0);
return 0;
}"