Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've installed apache and the server runs fine. I then installed PHP5, and it gave me a warning that it failed to edit the needed apache files.

I did some googling and I found an article that said I just needed to add this to any spot on the httpd.conf file.

LoadModule php5_module "J:/php/php5apache2_2.dll"
AddType application/x-httpd-php .php
PHPIniDir "J:/php"

However when I do that and attempt to restart the service, apache fails to start.

share|improve this question
up vote 1 down vote accepted

I found the issue:

The distro of PHP5 (windows 32 installer .msi package from that I got, for some reason or another, was lacking all the .DLL files I needed. I downloaded the .zip and did a manual install.

BTW, for those like me who are looking to get started using a WAMP, I highly recomend doing it manualy. I've done it both ways now, and you learn a ton more doing the manual process.

share|improve this answer

Open Apache log file to see why it can not start.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.