From: jwohlers at waubonsee dot edu Operating system: Windows 2003 SP2 PHP version: 5.2.5 PHP Bug Type: Unknown/Other Function Bug description: trigger_error fails to trigger an error on Windows 2003
Description: ------------ I have been unable to make php generate errors by using the trigger_error function on an Apache / Windows 2003 server. The same code works fine on a duplicate install of Apache / PHP on windows XP. I have tried changing all of the error reporting setting in php.ini and added code to my script to try to force error reporting. Reproduce code: --------------- <?php /* Set error handling */ error_reporting (E_ALL); ini_set('display_errors','1'); ini_set('display_startup_errors','1'); ini_set("log_errors","1"); /* Trigger an error */ trigger_error("This is an error"); ?> Expected result: ---------------- I would expect to receive the following output: "Notice: This is an error in C:\websites\library\HTML\error.php on line 9" and that is the output I receive from the Windows XP machine. On windows 2003, I receive a blank page. Actual result: -------------- Output on windows 2003 server is blank. -- Edit bug report at http://bugs.php.net/?id=43629&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43629&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43629&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43629&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43629&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=43629&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=43629&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=43629&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=43629&r=needscript Try newer version: http://bugs.php.net/fix.php?id=43629&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=43629&r=support Expected behavior: http://bugs.php.net/fix.php?id=43629&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=43629&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=43629&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=43629&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43629&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=43629&r=dst IIS Stability: http://bugs.php.net/fix.php?id=43629&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=43629&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=43629&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=43629&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=43629&r=mysqlcfg