-1

I want to install a particular version of php (5.3.3) on windows. What are the different possible ways to do it? What would be the mostly painless?

(I'm generally aware that some people compile a package for themselves, but wondering when it is needed rather than just picking a ready installation.)

p.s. I'd rather avoid installations that also force me to upgrade apache. Looking for installing only php

shealtiel
  • 7,480
  • 17
  • 48
  • 81
  • Kindly explain why is this off topic. Particularly how is it different from http://stackoverflow.com/questions/1401904/painless-way-to-install-a-new-version-of-r-on-windows?rq=1 which seems to get lots of attention – shealtiel Jan 17 '13 at 06:33
  • @jrummel please see above – shealtiel Jan 17 '13 at 06:34

1 Answers1

1

There are prebuilt PHP binaries available for windows which are relatively simple to install at http://windows.php.net/download/

The problem is that the specific version you mention is not available as a pre built binary. But they do offer a binary of PHP 5.3.2, if that is "close enough" for you you can simply unzip it into a directory and edit the $unzipdir/php.ini file and update apache conf (usually C:\Program Files\Apache Software Foundation\Apache2.2\conf) accordingly.

If you really need to have 5.3.3 it seems that there is no other option than to compile it yourself.

I see no reason why you would have to upgrade your apache unless it is stuck at an ancient version.

You might also want to take a look at the WAMP server to easily install apache+php in the future http://www.wampserver.com

Flunk
  • 293
  • 2
  • 4
  • thank you, what is the differences between what is found on your link windows.php.net/download and what is found here http://windows.php.net/downloads/releases/archives/? At the second link, I could find an msi for 5.3.3. – shealtiel Jan 16 '13 at 15:59
  • I totally forgot about the archives! Good call! The difference is that the versions listed on the download page are "stable" versions. Running a version that is not marked as stable in a production environment is generally not done. – Flunk Jan 16 '13 at 16:09