I installed everything using powerstack and yum. I've checked over config files and havnt noticed anything. My phpinfo worked once then stopped. http://93.174.91.26/content/serverinfo.php. 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 running redhat, cents 5
Your 'serverinfo.php' script looks like it's working just fine; do you have an example of a script that isn't working?
I made a test php with just an echo. http://93.174.91.26/info.php. Found it weird although the phpinfo worked a simple echo test would not
What is the source behind info.php? Are you trying to use short_open_tags with them disabled by chance?
Agree with Derokorian - we need to see the source code of info.php that's not working.
Also, a 500 error should generate a log entry in Apache's error log; have you examined that log for relevant information?
<?php echo 'Hello'; ?>
the serverinfo.php uses short tags btw. I'm trying to migrate from another server. So files that worked before aren't now. Like http://93.174.91.26/content/index.php
Well I don't see anything glaringly wrong; can you look in Apache's error logs and show us the lines that are generated when you view the example echo script above?
In var/www/html/ and var/www/html/content there are no error logs created. Can't think of anywhere else they'd go. I see a folder var/www/error but those look like pre defined
Check your Apache config, or simply use the ErrorLog directive to define your own error log.
It's set for ErrorLog /var/log/httpd/error_logthe but nothing shows up. There was one in there that came with install. Deleted it and another hasn't appeared after calling several pages.
I even set my error code to debug level to allow more to come through and nothing is showing up. In the same folder are my access logs which are working correctly. Should I post my httpd.config?
Thanks everyone for your help. Turned out to be a very odd chmod error from my ftp client.