Forum Moderators: phranque
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
Action application/x-httpd-php "C:/Program Files/PHP/php-cgi.exe"
PHPIniDir "C:/Program Files/PHP"
LoadModule php5_module "C:/Program Files/PHP/php5apache2.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
The relevant Apache directives are AddType and AddHandler. Normally, you'd just use AddHandler, but due to differences in the way that PHP can be run --as cgi or as a module-- you often have to use AddType instead. This is due to a kludge in the way that PHP is "hooked-in" to Apache.
For more information, see the various "How to install PHP" and "installing AMPP" threads in our PHP forum library [webmasterworld.com].
Jim