diff options
| author | Andy Postnikov <apostnikov@gmail.com> | 2025-09-25 01:36:53 +0200 |
|---|---|---|
| committer | Andrew Clayton <ac@sigsegv.uk> | 2025-09-25 04:22:09 +0100 |
| commit | ad736f9f4fddd844aed1eb6ee8a9dc88df5533fb (patch) | |
| tree | 7df3c791abe3a34d1b55ab7ca64e62b253005a97 /src/nxt_php_sapi.c | |
| parent | 630848a30f4b4c3892b59a419d6e46258289e464 (diff) | |
| download | unit-ad736f9f4fddd844aed1eb6ee8a9dc88df5533fb.tar.gz unit-ad736f9f4fddd844aed1eb6ee8a9dc88df5533fb.tar.bz2 | |
php: Add a new to 8.5 SAPI callback, pre_request_init
Closes: https://github.com/nginx/unit/issues/1660
[ Commit message tweak - Andrew ]
Signed-off-by: Andrew Clayton <ac@sigsegv.uk>
Diffstat (limited to 'src/nxt_php_sapi.c')
| -rw-r--r-- | src/nxt_php_sapi.c | 5 |
1 files changed, 4 insertions, 1 deletions
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 }; |
