PHP not working under Apache

I’m using Apache 2.2.15, PHP 5.2.13 under Windows XP

Just installed apache, then PHP, but can’t get apache to recognise the php, it ignores everything between <php and >

Any ideas?

Add at least these three lines in your httpd.conf:

LoadModule php5_module "c:/php/php5apache2_2.dll"

AddType application/x-httpd-php .php

PHPIniDir "C:/php"

If you want to change document root then change the path in following:

DocumentRoot "D:/www"

<Directory "D:/www">

Then restart your apache. I hope you have already configure your php.ini.

if you don’t have any reason of installing Apache and php separately, you can install wamp for windows, which includes all the php Apache mysql pre configured. Here is the link[B][/B]

I want to install them separately, I might have reasons for stalling other things and want to be able to monitor things more easily.

Any ideas???