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 am trying to run a simple PHP script which displays phpinfo() but I am getting 500 internal server error. What could be the reason? Is it because PHP handler is set to suPHP and I shall change it to DSO or CGI?

Thanks

share|improve this question

migrated from stackoverflow.com Dec 11 '10 at 22:41

This question came from our site for professional and enthusiast programmers.

    
The reason should be seen in the server's error log. –  Col. Shrapnel Dec 11 '10 at 7:01
    
Please tell me where I can see that log? I have root access to server. –  Ali Dec 11 '10 at 7:08
    
this question should be asked from server admin. –  Col. Shrapnel Dec 11 '10 at 7:19
    
But there must be a default path where log files are saved? –  Ali Dec 11 '10 at 7:29
    
no, there isn't –  Col. Shrapnel Dec 11 '10 at 8:00
show 1 more comment

Your Answer

 
discard

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