Link to home
Start Free TrialLog in
Avatar of street9009
street9009Flag for United States of America

asked on

Web Platform Installer - PHP Upgrade Process

I currently have PHP 5.4.24 installed via the Microsoft Web Platform Installer in IIS 8 (Server 2012). What is the correct process for upgrading PHP to later versions (5.5.11 and 5.6.0 are available as of the time of this posting)?

User generated image
Avatar of Dan McFadden
Dan McFadden
Flag of United States of America image

You can have more than one version of PHP available on a web server.  So it depends on what your actual needs are.

1. Do you need to add a new site the requires a new PHP version?
2. Does there exist an old site on the server that needs to have a previous version available?

If you are just planning to replace PHP, you can add it your server installation with WPI.

Here is a link describing the process:

reference link:  http://blogs.iis.net/donraman/installing-php-on-windows
how to link:  http://blogs.iis.net/donraman/upgrading-to-php-5-3-an-easy-way

The versions referenced are prior versions but the process is similar.

Dan
Avatar of street9009

ASKER

The upgrade post doesn't make a whole lot of sense to me. As you can see from my screenshot above, multiple versions of PHP are available. Shouldn't we be doing any uninstalling/reinstalling via WPI and not via the Windows binaries? Wouldn't you want WPI to know which version(s) you have loaded?

To answer your questions, my initial plan was to replace PHP with the latest version. But it occurs to me that WPI may let you have multiple versions and configure each site to run its own? Is that true? In which case I only have need for 1 site to run 5.5 and the rest can stay on 5.4 for now. If it's easier to upgrade all, it should work fine.
ASKER CERTIFIED SOLUTION
Avatar of Dan McFadden
Dan McFadden
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you!