Customer error_log in one file

rahnev

Well-Known Member
Jul 6, 2016
69
7
58
Bulgaria
cPanel Access Level
Root Administrator
Is there a way to create only one error_log file per customer? Now error_log files are generated in every folder where there is an error.
System is using: cPanel + Cloudlinux + GageFS.

I know of a way using using custom php.ini (CloudLinux Documentation) but it's difficult to release because have to edit every customer configuration in CageFS.

Is there some other way?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
I know of a way using using custom php.ini (CloudLinux Documentation) but it's difficult to release because have to edit every customer configuration in CageFS.
Hello,

Could you elaborate on the specific method you are referring to? Would a bash script to run the command you are referring to for every username on the system help?

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
We use "native" php version of the server and this method is valid only for alt-php versions.
Could you verify which PHP handler is enabled on the system (e.g. suPHP, DSO)?

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463