Performing an upgrade to PHP on Windows ServerKeeping your software and applications up to date is a crucial part of maintaining security and stability in your web hosting systems. Unfortunately, updating system components and back-end software can sometimes be a frustrating and a difficult process. However, thanks to Microsoft’s Web Platform Installer, upgrading PHP on a Windows server with IIS is as simple as a few clicks.
As with any important software or system change, the best idea is to make sure you have current backups of your system files and your site files.
- Verify that Web Platform Installer is present in IIS. Open Internet Information Systems and click on the server name. If Web Platform Installer is not present, Click on “Get New Web Platform Components”.
- Click “Install this extension” on the web browser window that is opened. Accept the license agreement and follow the prompts to install that Web Platform Installer.
- Re-Open IIS, Click on the Server Name, then Double-Click on the Web Platform Installer.
- Type “PHP” in the Search Window at the top-right of the Web Platform Installer.
- Select the version of PHP that you wish to install and click “Add” and “Install”. Make sure to select the 64-bit or 32-bit, depending on your server environment.
- You’ve now successfully upgraded your PHP installation. You’ll want to open a command prompt and enter the command “iisreset” to apply the new settings or you can simply reboot the server to apply the changes.