[FX.php List] Error reporting in PHP

Bob Patin bob at patin.com
Fri Dec 12 11:53:51 MST 2008


You are a man of wisdom. :)

So I can either change the PHP.ini setting to ON or else use

ini_set ('display_errors',1);

is that right?

Thanks,

BP



On Dec 12, 2008, at 12:41 PM, Jonathan Schwartz wrote:

> 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
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20081212/7bdfbd69/attachment.html


More information about the FX.php_List mailing list