Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
    
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 '11 at 8:07

1 Answer 1

up vote 3 down vote accepted
+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

share|improve this answer
    
There is only one setting that isn't relative, how would it write logs to different places? –  Kristopher Ives Jan 27 '11 at 23:21

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.