[FX.php List] Error reporting in PHP

Jonathan Schwartz jschwartz at exit445.com
Fri Dec 12 11:41:35 MST 2008


Hiya Bob,

The 'display_errors' setting determines if any errors get displayed at all.

The 'error_reporting' setting determines the level of errors that get 
displayed.

The following displays errors, but not "Notices".
ini_set ('display_errors',1);
error_reporting (E_ALL & ~ E_NOTICE);

HTH

J

At 12:35 PM -0600 12/12/08, Bob Patin wrote:
>One of my clients is asking if I have errors supressed on one of my 
>web servers, and in looking at PHPINFO, I'm not sure which variable 
>I need to check for this.
>
>Could someone tell me what variable I should be looking at for 
>supression of PHP errors, and also, what setting I *should* be using 
>in order NOT to supress PHP errors?
>
>Thanks,
>
>Bob Patin
>Longterm Solutions LLC
>bob at longtermsolutions.com
>615-333-6858
>http://www.longtermsolutions.com
>iChat/AIM: bobpatin
>FileMaker 9 Certified Developer
>Member of FileMaker Business Alliance
>--------------------------
>FileMaker hosting and consulting for all versions of FileMaker
>PHP * Full email services * Free DNS hosting * Colocation * Consulting
>
>_______________________________________________
>FX.php_List mailing list
>FX.php_List at mail.iviking.org
>http://www.iviking.org/mailman/listinfo/fx.php_list


-- 
Jonathan Schwartz
Exit 445 Group
jonathan at exit445.com
http://www.exit445.com
415-370-5011


More information about the FX.php_List mailing list