summaryrefslogtreecommitdiffstats
path: root/upstream.patch
blob: 84d43da1a19f0688a43a481f5d93f8ee68a055e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
From e86d8704b44dde164e36b5364036e1988ac566fe Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@php.net>
Date: Tue, 14 Feb 2023 14:13:40 +0100
Subject: [PATCH] more config for new FPM tests

---
 sapi/fpm/tests/ghsa-54hq-v5wp-fqgv-max-body-parts-custom.phpt | 4 +++-
 .../fpm/tests/ghsa-54hq-v5wp-fqgv-max-body-parts-default.phpt | 4 +++-
 sapi/fpm/tests/ghsa-54hq-v5wp-fqgv-max-file-uploads.phpt      | 4 +++-
 3 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/sapi/fpm/tests/ghsa-54hq-v5wp-fqgv-max-body-parts-custom.phpt b/sapi/fpm/tests/ghsa-54hq-v5wp-fqgv-max-body-parts-custom.phpt
index d2239ac3c410..d5c4c4d46987 100644
--- a/sapi/fpm/tests/ghsa-54hq-v5wp-fqgv-max-body-parts-custom.phpt
+++ b/sapi/fpm/tests/ghsa-54hq-v5wp-fqgv-max-body-parts-custom.phpt
@@ -21,7 +21,9 @@ php_admin_value[html_errors] = false
 php_admin_value[max_input_vars] = 20
 php_admin_value[max_file_uploads] = 5
 php_admin_value[max_multipart_body_parts] = 10
-php_flag[display_errors] = On
+php_admin_flag[display_errors] = On
+php_admin_flag[display_startup_errors] = On
+php_admin_flag[log_errors] = On
 EOT;
 
 $code = <<<EOT
diff --git a/sapi/fpm/tests/ghsa-54hq-v5wp-fqgv-max-body-parts-default.phpt b/sapi/fpm/tests/ghsa-54hq-v5wp-fqgv-max-body-parts-default.phpt
index 42b5afbf9ee7..c7e029371bba 100644
--- a/sapi/fpm/tests/ghsa-54hq-v5wp-fqgv-max-body-parts-default.phpt
+++ b/sapi/fpm/tests/ghsa-54hq-v5wp-fqgv-max-body-parts-default.phpt
@@ -20,7 +20,9 @@ pm.max_spare_servers = 3
 php_admin_value[html_errors] = false
 php_admin_value[max_input_vars] = 20
 php_admin_value[max_file_uploads] = 5
-php_flag[display_errors] = On
+php_admin_flag[display_errors] = On
+php_admin_flag[display_startup_errors] = On
+php_admin_flag[log_errors] = On
 EOT;
 
 $code = <<<EOT
diff --git a/sapi/fpm/tests/ghsa-54hq-v5wp-fqgv-max-file-uploads.phpt b/sapi/fpm/tests/ghsa-54hq-v5wp-fqgv-max-file-uploads.phpt
index da81174c7280..8c7ec54c799b 100644
--- a/sapi/fpm/tests/ghsa-54hq-v5wp-fqgv-max-file-uploads.phpt
+++ b/sapi/fpm/tests/ghsa-54hq-v5wp-fqgv-max-file-uploads.phpt
@@ -19,7 +19,9 @@ pm.min_spare_servers = 1
 pm.max_spare_servers = 3
 php_admin_value[html_errors] = false
 php_admin_value[max_file_uploads] = 5
-php_flag[display_errors] = On
+php_admin_flag[display_errors] = On
+php_admin_flag[display_startup_errors] = On
+php_admin_flag[log_errors] = On
 EOT;
 
 $code = <<<EOT