Avatar of street9009
street9009
Flag 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)?

PHP Versions Available
Microsoft IIS Web ServerPHPWeb Development

Avatar of undefined
Last Comment
street9009

8/22/2022 - Mon
Dan McFadden

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
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
Dan McFadden

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
street9009

ASKER
Thank you!
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes