php-general | 2005051
Date: 05/13/05
- Next message: Jason Wong: "Re: [PHP] Re: why are session only working with cookies?"
- Previous message: Richard Lynch: "Re: [PHP] cURL functions"
- In reply to: hima: "[PHP] error display problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Saturday 14 May 2005 09:49, hima wrote:
> can any one plesae help me as I am a learner. I am
> working on a Mac OS x machine and I want to see the
> errors displayed to the browser. I had changed
> display_errors option On in
> the php.ini file but still cannot see them displayed.
Did you restart the webserver?
> Any pointers as how to display errors to browser while
> working on Mac machine, really appreciated.
Anyway, putting the following at the beginning of your code will allow you
to see all errors regardless of the server setting:
error_reporting(E_ALL);
ini_set('display_errors', TRUE);
-- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ New Year Resolution: Ignore top posted posts-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Jason Wong: "Re: [PHP] Re: why are session only working with cookies?"
- Previous message: Richard Lynch: "Re: [PHP] cURL functions"
- In reply to: hima: "[PHP] error display problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

