Thursday, February 11, 2010

Apache and php on Windows 7 x64

I've been having some joy this evening getting these two to configure correctly. Firstly, I downloaded the following files:

  • apache_2.2.14-win32-x86-openssl-0.9.8k.msi
  • php-5.3.1-Win32-VC6-x86.msi

I installed Apache, no problem. I installed php, no problem. php updated Apache's httpd.conf as expected. However, when I restarted Apache:

The requested operation has failed!

And here I thought Microsoft gave unhelpful error messages. Some time Googling later, I found this post which seemed to be much the same issue.

So I uninstalled the php msi, downloaded the same file in zip format, and extracted to the same folder (in my case, C:\PHP). Restarted Apache and there were no issues.


  1. Absolutely brilliant post guys, been following your blog for 3 days now and i should say i am starting to like your post. and now how do i subscribe to your blog?
    Rosetta Stone Spanish Latin America

  2. office product key
    Aw, this was a really quality post. In theory I'd like to write like this too – taking time and real effort to make a good article… but what can I say… I procrastinate alot and never seem to get something done.

  3. They can easily make the code readable by adding comments to each code snippet. The comments will make it easier for other developers to make changes to the existing code in future without putting extra time and effort.plakatų spausdinimas