up vote 2 down vote favorite
share [g+] share [fb]

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.

link|improve this question

feedback

2 Answers

up vote 1 down vote accepted

I found the issue:

The distro of PHP5 (windows 32 installer .msi package from php.net) 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.

link|improve this answer
feedback

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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