How to configure php5 on apache2.2?
I want to configure PHP5 on apache2.2 server.
I added
LoadModule php5_module "c:/php/php5apache2_2.dll" AddHandler application/x-httpd-php.php # configure the path to php.ini #PHPIniDir "c:/php"
these lines on my apache httpd.conf file. But it is not restarting apache server.
What is the problem? Can anybody help me?
You are missing the space after application/x-httpd-php
AddHandler application/x-httpd-php .php
Replace
application/x-httpd-php.php
by
application/x-httpd-php .php