Sevarin Posted February 13, 2011 Share Posted February 13, 2011 Hi folks, I'm new here, so hello everyone! I run a webserver (Cent OS) with dedicatednow and since a few days I get an error message everytime I use anything PHP: 500 Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. It was working fine before that and no changes have been made. I don't get it. I tried restarting Apache, reconfiguring PHP, but without success. Not even a simple phpinfo(); will run. Can anyone help me out here? Quote Link to comment Share on other sites More sharing options...
requinix Posted February 14, 2011 Share Posted February 14, 2011 So what does Apache's error log say? Quote Link to comment Share on other sites More sharing options...
Sevarin Posted February 14, 2011 Author Share Posted February 14, 2011 Sry, I'm really not that experienced with Linux. Is this what you were asking for? [Mon Feb 14 02:56:46 2011] [error] [client 67.191.39.247] Premature end of script headers: index.php I get this on all the scripts that were attempted to be executed. Quote Link to comment Share on other sites More sharing options...
Infinitive Posted February 15, 2011 Share Posted February 15, 2011 You might want to check suexec_log. (Look for it in /var/log/httpd/suexec_log, or poke around.) What you're seeing can often be the fault of wrong file permissions. (Apache wants to run something that root owns, for example.) suexec_log should give a clue if that's happening. Precisely what you're seeing means that the pages stopped before they ever really got started, which unfortunately doesn't tell you much. So I'd try looking into file permissions and ownership and see if that leads you somewhere. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.