Skip to content

Commit 02d16d4

Browse files
committed
1 parent 135bf2a commit 02d16d4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

demo/http.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
require __DIR__ . '/../vendor/autoload.php';
44

5+
if (isset($_GET['crash'])) {
6+
throw new \Exception('Crash!');
7+
}
8+
59
if (isset($_GET['sleep'])) {
610
error_log('This is a log');
711
sleep(10);

src/FpmRuntime/FpmHandler.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,6 @@ public function start(): void
8484
'--force-stderr',
8585
'--fpm-config',
8686
$this->configFile,
87-
// Override ini settings to force disabling display_errors
88-
// Displaying errors in the HTTP response is a security risk
89-
'-d',
90-
'display_errors=0',
9187
// This setting is enabled by default for CLI invocations because it
9288
// improves performance. We disable if it for PHP-FPM manually
9389
// because it tanks performance by essentially disabling opcache

0 commit comments

Comments
 (0)