Bug #79161 [NEW]: ini_set causes 500 error with no error text

From: Date: Thu, 23 Jan 2020 14:02:27 +0000
Subject: Bug #79161 [NEW]: ini_set causes 500 error with no error text
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-225068@lists.php.net to get a copy of this message
From: martin dot barker at thisisbeacon dot com Operating system: Linux ip-10-1-28-252 4.15.0-1051 PHP version: 7.4.2 Package: FPM related Bug Type: Bug Bug description:ini_set causes 500 error with no error text 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. -- Edit bug report at https://bugs.php.net/bug.php?id=79161&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=79161&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=79161&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=79161&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=79161&r=needscript Try newer version: https://bugs.php.net/fix.php?id=79161&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=79161&r=support Expected behavior: https://bugs.php.net/fix.php?id=79161&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=79161&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=79161&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=79161&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=79161&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=79161&r=dst IIS Stability: https://bugs.php.net/fix.php?id=79161&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=79161&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=79161&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=79161&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=79161&r=mysqlcfg

« previous php.bugs (#225068) next »