[FX.php List] How to turn on PHP error reporting on OS X

Dale Bengston dbengston at preservationstudio.com
Thu May 4 09:27:41 MDT 2006


Hi William,

I use the error_reporting() function to turn error reporting on and  
off on a site-by-site basis, as I'm testing:
	http://us3.php.net/manual/en/function.error-reporting.php

Hope this helps,
Dale Bengston

On May 4, 2006, at 10:07 AM, gerry.charest at agfa.com wrote:

> You can change the setting in your PHP.ini file, display_errors  
> function to on and it will return a bit more information.
>
> Gerry Charest
> <graycol.gif>
> ">"William Akey" <wcakey at hotmail.com>
>
>
> <ecblank.gif>
>
> <ecblank.gif>
>
> "William Akey" <wcakey at hotmail.com>
> Sent by: fx.php_list-bounces at mail.iviking.org
> 05/04/2006 10:56 AM
> Please respond to "FX.php Discussion List"
>
> <ecblank.gif>
>
>
> To:	"FX.php Discussion List" <fx.php_list at mail.iviking.org>
> cc:	(bcc: Gerry Charest/MJVYN/AGFA)
> Subject:	[FX.php List] How to turn on PHP error reporting on OS X
>
>
> Hi Folks,
>
> I have just started to work on a FX.php solution on an Mac running  
> OS 10.3.9
> and PHP 5.x. Can some kind soul tell me where to go to enable  
> display of PHP
> parsing errors?
>
> Currently, when I have parsing errors in my code, I just get a  
> blank page
> instead of the nice error reporting that I am used to on the PC side.
> Needless to say, blank pages make it a lot harder to debug my code.  
> I am
> familiar with using Print_r() and Set Debug True, but those don't  
> catch the
> simple parse errors from poor typing. There does not seem to be a  
> php.ini
> file anywhere on the Mac that I could hope to modify.
>
> Thanks for any help you can give.
>
> William
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
> <graycol.gif>
> <ecblank.gif>
> <pic32209.gif>
> _______________________________________________
>
> 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://www.iviking.org/pipermail/fx.php_list/attachments/20060504/117d3373/attachment.html


More information about the FX.php_List mailing list