RE: [PHP] php error reporting problem
| From: | Ford, Mike | Date: | Wed, 29 Mar 2006 13:56:16 +0000 |
| Subject: | RE: [PHP] php error reporting problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-232818@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: ngwarai zed [mailto:makotore@gmail.com]
> 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