|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-03-14 16:46 UTC] jwohlers at waubonsee dot edu
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 05 21:00:01 2025 UTC |
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.