I have needed to duplicate a FastCGI + suPHP, and I have re-created the setup but unlike the CentOS one my error_log
files are all in /log/apache/
instead of the directories where the script triggered the error. How do I configure PHP to write all error_log
s to ~/error_log
?
-
For clarity: this is suphp and mod_userdir integration, so that for any given user, when using suphp to run a script on their behalf, the error_log goes into a per-user error_log file. [deleted my non-answer]– Phil PJan 11, 2011 at 8:07
Add a comment
|
1 Answer
I believe your suphp configuration file is possibly missing a logfile statement which states where logging information is stored. Based on their documentation this should be configurable with variable definitions. Further info should be found here : http://www.suphp.org/DocumentationView.html?file=CONFIG
-
There is only one setting that isn't relative, how would it write logs to different places? Jan 27, 2011 at 23:21