Now it's a different story. I have configured httpd.conf as follows:
ScriptAlias /php/ "c:/apache-php/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
which shows I am using php as a CGI. I get the following error:
Server error!
Error message:
Premature end of script headers: php.exe
If you think this is a server error, please contact the webmaster
Error 500
localhost
07/10/02 21:53:41
Apache/2.0.36 (Win32)
It shows the directory root of which I can open html files but I get the above error messega. Am I missing something? Can anyone help please.