number67a Posted November 16, 2009 Share Posted November 16, 2009 I am trying to install php on apache, but it doesn't work. I have configured the php. ini and the httpd.conf but it keeps coming back with either a 400 or 500 error. the error log reads: 15 16:16:01 2009] [error] [client 127.0.0.1] Premature end of script headers: c:/php/php.exe. what else should I do? Quote Link to comment https://forums.phpfreaks.com/topic/181747-problem-with-phpapache/ Share on other sites More sharing options...
wildteen88 Posted November 16, 2009 Share Posted November 16, 2009 How are you setting up PHP and Apache? From your error it appears to be PHP is set up as CGI. It is much better setup PHP as an Apache Module. Quote Link to comment https://forums.phpfreaks.com/topic/181747-problem-with-phpapache/#findComment-958602 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.