Re: php-general Digest 23 Apr 2001 09:53:51 -0000 Issue 644
| From: | alter ego | Date: | Mon, 23 Apr 2001 10:43:28 +0000 |
| Subject: | Re: php-general Digest 23 Apr 2001 09:53:51 -0000 Issue 644 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-49831@lists.php.net to get a copy of this message | ||
I would like to separate the php errors generated by my scripts (quite a
lot unfortunately) from my apache log files, but can't seem to get this
to work. If this is a frequent question, please let me know a good place
to search the mailing list and I promise I'll do.
Here's what I do:
In php.ini:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Error handling and logging ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
error_reporting = E_ALL ; Show all errors
log_errors = On
error_log = /logs/php.err ; log errors to specified file
the logs directory is writable by the www user, which is the uid that
apache runs as.
Please copy me in your answer, as i only subscribe to the digest.
thanks,
.ps