From 44133f13a4b666f0daba9d2e7017e7768e71fb73 Mon Sep 17 00:00:00 2001 From: Thomas Arrow Date: Fri, 31 Jan 2025 11:25:13 +0000 Subject: [PATCH] Disable display_errors in php.ini We saw one case of errors appearing in JSON responses breaking their parsing[1]. This commit should disable displaying (in the response) but not disable all reporting[2]. [1] https://github.com/magnusmanske/quickstatements/pull/58 [2] https://stackoverflow.com/a/21699794 --- docker/php.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/php.ini b/docker/php.ini index 51e8276..2e5ddfe 100644 --- a/docker/php.ini +++ b/docker/php.ini @@ -1 +1,2 @@ date.timezone = "UTC" +display_errors = 0