Re: Error Reporting help
| From: | Jason Wong | Date: | Mon, 19 Jan 2004 20:02:58 +0000 |
| Subject: | Re: Error Reporting help | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-175080@lists.php.net to get a copy of this message | ||
On Tuesday 20 January 2004 03:44, Chris Edwards wrote:
> Here's a snippet from my PHI_INI
>
> ; - Show all errors
> ;
> error_reporting = E_ALL
> ;error_reporting = E_ALL & ~E_NOTICE & ~E_WARNING & ~E_CORE_WARNING &
> ~E_USER_WARNING & ~E_USER_NOTICE & ~E_COMPILE_WARNING
>
> display_errors = On
With those settings you should be able to see syntax errors.
> The commented out error_reporting was the original setting and
> "display_errors" was "Off"
>
> I changed them to the values you see above. When I execute my script and
> use init_get() the values appear to be right, but do I need to do something
> to get PHP to actually work off of these setting once they have been
> changed, i.e. some kind of refresh
You need to restart the webserver for any changes in php.ini to take effect.
--
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
------------------------------------------
/*
What passes for woman's intuition is often nothing more than man's
transparency.
-- George Nathan
*/