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 installed everything using powerstack and yum. I've checked over config files and havnt noticed anything. My phpinfo worked once then stopped. All other php pages just show up blank or return with error 500. I can't seem to figure out what's wrong. I'm running the newest versions of everything. I'm on redhat centOS 5

share|improve this question

migrated from Jan 9 '12 at 13:24

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

Any relevant errors in apache log files? – Khaled Jan 9 '12 at 13:31
If I load the page in that link, I get a working phpinfo(). DON'T leave that online for any longer than necessary! – DaveRandom Jan 9 '12 at 13:38
The linked PHPinfo page opens without issue for me. Just an observation (probably unrelated to your problem) - but you seem to be running Apache/PHP as 'root' - not a good idea. – cyberx86 Jan 9 '12 at 13:42

My best guess would be that you try to load one (or more) php extension(s) that is not available, as you are loading a lot of extras there.

You might want to rename your php.ini into and add a file called php.ini w/o any content and restart apache. You can do that like this

mv /etc/php.ini /etc/
touch /etc/php.ini
apache2ctl restart

Check your page now, if the 500 persists. If that doesn't help,provide some logging output after calling a page of your content. You might want increase the LogLevel of your webserver with the highest being debug. Search for mentioned directive within your apache configuration.

share|improve this answer

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.