As mentioned by jtrovato:
>> Action application/x-httpd-php "/php/php.exe
I configure it as below in httpd.conf
>>Action application/x-httpd-php "/php4/php.exe
IT also depends on how you did the installation for Apache/PHP for windows.
Apache installed at C:/Program Files/Apache Group/Apache/
and php4 installed in a seperate folder c:/php4/php.exe
Then your c:/Apache/ will have the folowing sub-folders ...bin, cgi-bin,icons,logs,modules,conf, proxy, then addig the above in httpd.conf is correct.
You also need to add in httpd.conf the following:
ScriptAlias /cgi-bin/ "C
rogram Files/Apache Groug/Apache/cgi-bin/"
ScriptAlias /php4/ "C:/php4/"
AddType application/x-httpd-php .phtml .php
AddType application/x-httpd-php-source .phps
Restart Apache and check the installation is correct by creating a phpinfo.php file ....... <? phpinfo(); ?> and place this file in the document root of your web server. If it works fine, you will see a long page full of system and envioroment information.
Another method is to install Apache as c:/Apache and without the php in seperate folder but as a sub-folder for example:
c:/Apache with the c:/Apache/php4/ but this requires the httpd.conf to be configured differently.