|
Posted by Jason Wong on 05/14/05 06:35
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
Navigation:
[Reply to this message]
|