Hi, I'm just new to this and I have just bought the Sitepoint book "Building a Database-Driven Web Site Using PHP and MySQL" and I'm trying to install apache and php on my windows 7 OS. Everything seems to work fine, and apache2.2 starts up /shuts down and starts up again no bother.... that is untill i add the following code to the end of the apache conf file "httpd" (as stated in the book)

LoadModule php5_module "C:/PHP/php5apache2_4.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/PHP"

I've checked all the paths and they seem fine, the only thing I changed was the .dll file "php5apache2_2.dll" to "php5apache2_4.dll" to suit the version in the php folder....
When I try to start Apache2.2 with the code inserted I get an error message .... "The requested operation has failed"

Thank you for any help you can give.

Regards,

heedthebaw