error_log location
Hi
My configration is centos 6.6, WHM 11.48.3 and SuPHP
Currently php scripts errors are logged in separate files in script directory. How to make them in 1- one file under each account
2- in one file at server level
The server is still in development mode as follow
display_errors=on
error_log=error_log
error_reporting=E_ALL & ~E_DEPRECATED
log_errors=on
Thanks
-
Hello, You can modify "error_log=error_log" so that it uses an actual path to a global error_log file. EX: error_log=/root/error_log
It's not possible to have PHP send the error output through Apache to multiple log files without additional custom logging modules as far as I know. Thank you.0
Please sign in to leave a comment.
Comments
1 comment