Add the following into your httpd.conf
(Note: Make sure that you have given the correct path in LoadModule)
LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll"
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
With the above configuration, some of the functionality in PHP failed in my case.
ReplyDeleteThe following worked well for me.
ScriptAlias /php/ "C:/Program Files/PHP/"
Action application/x-httpd-php "C:/Program Files/PHP/php-cgi.exe"
LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll"
LoadModule php5_module "C:/Program Files/PHP/php5apache2.dll"
LoadModule php5_module "C:/Program Files/PHP/php5apache.dll"