Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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 :

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


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.