summaryrefslogtreecommitdiffhomepage
path: root/auto/modules/php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--auto/modules/php4
1 files changed, 4 insertions, 0 deletions
diff --git a/auto/modules/php b/auto/modules/php
index e92a67cd..7d224ec1 100644
--- a/auto/modules/php
+++ b/auto/modules/php
@@ -149,7 +149,11 @@ nxt_feature_test="
#include <php_main.h>
int main() {
+ #if (PHP_VERSION_ID < 80200)
php_module_startup(NULL, NULL, 0);
+ #else
+ php_module_startup(NULL, NULL);
+ #endif
return 0;
}"