diff options
author | Valentin Bartenev <vbart@nginx.com> | 2018-11-21 18:22:19 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2018-11-21 18:22:19 +0300 |
commit | adf22b6a0d3481f7fc4d38ade08a2a0dd4ea6f19 (patch) | |
tree | 9a6caf022840838264137bd5a40ab9ecfb353fb3 /auto/modules/php | |
parent | 39cd4a9dee9a8ea61af0efd6d62ed8d692375ab7 (diff) | |
download | unit-adf22b6a0d3481f7fc4d38ade08a2a0dd4ea6f19.tar.gz unit-adf22b6a0d3481f7fc4d38ade08a2a0dd4ea6f19.tar.bz2 |
PHP: fixed compatibility with ZTS.
This closes #184 issue on GitHub.
Diffstat (limited to 'auto/modules/php')
-rw-r--r-- | auto/modules/php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auto/modules/php b/auto/modules/php index 762c1621..5d54c119 100644 --- a/auto/modules/php +++ b/auto/modules/php @@ -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; }" |