need help with making apache run php
Posted: Tue Nov 17, 2009 6:02 am
I can not make aparche server output
php_info. it comes back with an error
500 or error 400 over and over again.
I checked th error log and it says
Premature end of script headers: c:/php/php.exe
I have tried
(1) re-installing Aparche
(2) Re-installing php.
(3) Changing the httpd.conf
to include
and exclude
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
#LoadModule php5_module c:/php/php5apache.dll
#AddModule mod_php5.c
#AddType application/x-httpd-php .php.
But the problem still remains.
I have also tried to output simple php codes
like hello world!, it still doesn't work.
Would be glad if you can please help me.
Yours sincerley
David James
php_info. it comes back with an error
500 or error 400 over and over again.
I checked th error log and it says
Premature end of script headers: c:/php/php.exe
I have tried
(1) re-installing Aparche
(2) Re-installing php.
(3) Changing the httpd.conf
to include
and exclude
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
#LoadModule php5_module c:/php/php5apache.dll
#AddModule mod_php5.c
#AddType application/x-httpd-php .php.
But the problem still remains.
I have also tried to output simple php codes
like hello world!, it still doesn't work.
Would be glad if you can please help me.
Yours sincerley
David James