Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

2 Answers 2

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

share|improve this answer
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.

share|improve this answer

Your Answer

 
discard

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.