Customer error_log in one file
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?
-
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.0 -
We use "native" php version of the server and this method is valid only for alt-php versions. 0 -
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.0 -
PHP Handler is SuPHP. 0 -
PHP Handler is SuPHP.
There's a third-party URL here you may find helpful: Advanced PHP Error Handling via PHP - No htaccess Required! | Perishable Press The following thread and document explain php.ini behavior with suPHP in EasyApache 4: How to use SuPHP Custom INI files The cPanel PHPRC PHP Patch for EasyApache 4 - EasyApache 4 - cPanel Documentation Thank you.0
Please sign in to leave a comment.
Comments
5 comments