0

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_logs to ~/error_log?

1
  • 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 P
    Jan 11, 2011 at 8:07

1 Answer 1

3
+25

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

1
  • There is only one setting that isn't relative, how would it write logs to different places? Jan 27, 2011 at 23:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .