|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2020-01-23 14:02 UTC] martin dot barker at thisisbeacon dot com
Description:
------------
for some reason, `ini_set` in FPM is causing a 500 error with absolutely no error reporting,
So I'm running PHP 7.4.2 via nginx using the PHP socket, this also happened with PHP 7.4.1
```
index index.html index.htm index.php;
location / {
try_files $uri $uri/ =404;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
}
```
Test script:
---------------
using phpMyAdmin Stable branch added `ini_set("display_errors", true);` to config.ini.php above the blowfish secret var set.
set error_report = E_ALL & display_errors = On to the php/7.4/php.ini then restarted php-fpm `service php7.4-fpm restart`
Expected result:
----------------
either error that ini_set is not allowed, or for the page to load and PHP to have accepted the ini_set directive.
Actual result:
--------------
I just get a blank white screen for a HTTP 500 error, absolutely no error information.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 00:00:01 2025 UTC |
ok, <?php ini_set("display_error", true); echo "durrrr"; ?><?php ini_set("display_error", true); echo "durrrr"; ?> this is a completly useless comment * 1: display_error is wrong spelled * 2: display_errors don't change the error_reporting