Install PHP on Windows 2008 R2

Ok this should be easy, but every guide I've used is woefully incorrect in one way or another.

Can anyone run me through setting up PHP on windows 2008 R2?

many thanks
Who is Participating?
detox1978Author Commented:
I get error 500 when I follow the second link.  This message is logged in the event view

Activation context generation failed for "C:\PHP\php-cgi.exe". Dependent Assembly Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8" could not be found. Please use sxstrace.exe for detailed diagnosis.

I'm running 64 bit Windows, if that is relevant
detox1978Author Commented:
Sorted it.

After a bit of Googling I found installing

Microsoft Visual C++ 2008 Service Pack 1 Redistributable Package MFC Security Update

I had to install the x86 version as that's what PHP runs in (vcredist_x86.exe)

Many thanks
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.