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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to