summaryrefslogtreecommitdiffstats
path: root/474.patch
diff options
context:
space:
mode:
Diffstat (limited to '474.patch')
-rw-r--r--474.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/474.patch b/474.patch
deleted file mode 100644
index 076dfdc..0000000
--- a/474.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 01ad74d272a2d408b58e16946979ac5d9e127ab5 Mon Sep 17 00:00:00 2001
-From: Remi Collet <remi@remirepo.net>
-Date: Wed, 2 Sep 2020 11:13:05 +0200
-Subject: [PATCH] fix for PHP 8.0.0beta3
-
----
- src/nxt_php_sapi.c | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/src/nxt_php_sapi.c b/src/nxt_php_sapi.c
-index d7e5b476..11e4e702 100644
---- a/src/nxt_php_sapi.c
-+++ b/src/nxt_php_sapi.c
-@@ -537,9 +537,13 @@ nxt_php_set_options(nxt_task_t *task, nxt_conf_value_t *options, int type)
- }
-
- if (nxt_str_eq(&name, "disable_functions", 17)) {
-+#ifdef NXT_PHP8
-+ zend_disable_functions((const char *)value.start);
-+#else
- nxt_php_disable(task, "function", &value,
- &PG(disable_functions),
- zend_disable_function);
-+#endif
- continue;
- }
-