Not Display Errors
| From: | Samantha Savvakis | Date: | Fri, 08 Dec 2000 06:47:57 +0000 |
| Subject: | Not Display Errors | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-29294@lists.php.net to get a copy of this message | ||
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