Re: Not Display Errors
| From: | Kyle Jerviss | Date: | Fri, 08 Dec 2000 07:39:02 +0000 |
| Subject: | Re: Not Display Errors | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-29300@lists.php.net to get a copy of this message | ||
first off, make a page containing <? phpinfo(); ?> and look at it.
make sure that the config file path it shows is where your php.ini
actually is.
Samantha Savvakis wrote:
>
> Hi,
>
> I'm using: PHP4.0.2
> Apache 1.3.11 with SSL
> SCO OpenServer 5.0.5
>
> I wanted to turn off displaying error messages on the web page and put it
> into a log file.
>
> I set the following in the php.ini file:
>
> display_errors = Off
> display_startup_errors = Off
> log_errors = On
> track_errors = On
> error_log = /usr/local/apache/logs/phperror_log
>
> I stopped and started the Apache web server.
>
> My php.ini file exists in the /usr/local/lib directory. I have no other
> php.ini files, except for those in the php-4.0.2/pear/tests/ directory.
>
> Still, the errors say from a mysql query are getting printed on the web
> page. And the error log isn't showing. I even created that file, just incase
> it was complaining about not being able to write to the file.
>
> Is there something I'm missing or haven't done?
>
> Thanks,
> Sam
>
> --------------------------------------
> Samantha Savvakis (B.E. Comp-Sys HONS)
> Software Engineer
> Computer Fiscal Services
> Unit 1, 13-15 Steel Street
> CAPALABA, BRISBANE Q4157
> AUSTRALIA
> Tel: 07 3245 7522
> Fax: 07 3245 7299
> www.cfs.net.au
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net