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 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?


share|improve this question

migrated from 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

Your Answer


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