esaesa

Member
Mar 6, 2014
17
3
3
Egypt
cPanel Access Level
Root Administrator
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,911
2,234
363
Hello,

You can modify "error_log=error_log" so that it uses an actual path to a global error_log file. EX:

Code:
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.