RE: php error reporting problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: ngwarai zed [mailto:makotore@xxxxxxxxx] 
> Sent: 29 March 2006 14:39
> To: Christopher Murtagh

> The problem is I know what the error is. What I want is for 
> the error to be shown when I run the script not to be just 
> written to the error log. I tried changing display_errors = 
> On and error_reporting = On in php.ini , restarted httpd but 
> when I check with phpinfo() I still see display_errors set to 
> Off and error_reporting set to 2047. My php script still does 
> not show any errors. Why are my changes to php.ini not 
> refrlected when I run phpinfo() ? Where am I getting it all wrong?

You're not editing the right php.ini -- check phpinfo() for where it
says it's expecting php.ini to be (right near the top), and go edit that
instead.

Cheers!

Mike
 
------------------------------------------------------------------------
----------------
Mike Ford, Electronic Information Services Adviser, Learning Support
Services,
JG125, The Library, James Graham Building, Headingley Campus, Beckett
Park,
LEEDS, LS6 3QS,     United Kingdom
Tel: +44 113 283 2600 extn 4730    Fax: +44 113 283 3211
 


To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux