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
?
Asked
Active
Viewed 964 times
0

Kristopher Ives
- 384
- 1
- 3
- 14
-
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 08:07
1 Answers
3
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

jonathanserafini
- 1,768
- 14
- 20
-
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