vikins

Well-Known Member
Oct 3, 2006
127
1
168
Prior to using PHP-FPM, per user error_log files were created in the directory were the php file that produced the error resided. This was fairly useful and allowed savvy end users to troubleshoot their own scripts.

Since switching to PHP-FPM all php errors are logged only to a central error.log file. That is useful for the server admin, but individual users correctly don't have access to this file. Is there a way to restore the old style error_log files while using PHP-FPM?
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,265
1,297
363
Houston
Hi @vikins

There is no native way to do this but I think if it was possible to do it's a great idea for a feature request. If you would like you can open one using the link in my signature. Once it's opened please update this thread with the link to it so others can log in and vote for it.

Thanks!
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,265
1,297
363
Houston
Hi @vikins

You're more than welcome to try the customization they implemented to see if works for you. There's just no confirmation in that post that it does work as expected which is why I pointed you to the feature request. I haven't tried this on a test server to confirm whether or not it is a solution.

Thanks!