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 a mediawiki install that is acting up. Whenever I try to save an article, it goes to a blank screen. All though if I refresh that blank screen, it will go on to work.

I have no idea why it's doing that, but it seems to be that it's a problem with PHP. I guess by default errors don't get logged when using mod_fcgid, because I can't find an error log anywhere. I tried enabling logging in the /etc/php5/cgi/php.ini, but that didn't do anything. How do I achieve php error logging? I'm using ubuntu 9.10.

share|improve this question
    
have you checked the apache error log? –  h0tw1r3 Apr 17 '10 at 9:07
    
yes but it has nothing –  nbv4 Apr 17 '10 at 15:57
add comment

1 Answer

up vote 0 down vote accepted

The solution was to change the debug settings in the apache config from "warn" to "debug". Now apache outputs helpful error messages from PHP.

share|improve this answer
add comment

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.