Disable PHP error log only on specific account

kszadkowski

Member
Sep 30, 2014
8
0
1
cPanel Access Level
Root Administrator
I moved some time ago to cpanel, an old non-updated website built on the basis of Joomla 1.6. It is known that Joomla 1.6 has long been out of use. It is impossible to update this website or any changes in it.

Each page visit creates a lot of php error log lines - the average increment is 400 KB for a one-time visit. The file is created in the user's account in the / logs folder and has the name account_name.php.error.log. I attach a new file after today's visit.

So far, I've been managing the task of cron, which deletes the file every day. Is there any way to disable this log only for this one account?
 

kszadkowski

Member
Sep 30, 2014
8
0
1
cPanel Access Level
Root Administrator
But this is a configuration for a specific version of PHP. And I wonder if I can do it only for one account? Do I have to assign any other version of PHP only to this account and then change it?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,222
463
Hello,

You should be able to make that change on a per-domain basis unless you are using a PHP handler that does not support the change through the INI Editor (e.g. PHP-FPM). Is it not working as expected when you make the change using the method described in my last response?

Thank you.