mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-25 11:22:30 +01:00
18 lines
590 B
Diff
18 lines
590 B
Diff
Related https://github.com/nginx/unit/issues/1660
|
|
diff --git a/src/nxt_php_sapi.c b/src/nxt_php_sapi.c
|
|
index 926ebe99..57ba87ae 100644
|
|
--- a/src/nxt_php_sapi.c
|
|
+++ b/src/nxt_php_sapi.c
|
|
@@ -340,7 +340,10 @@ static sapi_module_struct nxt_php_sapi_module =
|
|
|
|
NULL, /* ini_entries */
|
|
NULL, /* additional_functions */
|
|
- NULL /* input_filter_init */
|
|
+ NULL, /* input_filter_init */
|
|
+#if (PHP_VERSION_ID >= 80500)
|
|
+ NULL, /* pre_request_init */
|
|
+#endif
|
|
};
|
|
|
|
|