I would like to share my process below:
PHP Upgrade
- Download the zip package from https://windows.php.net/download/. IIS requires NTS (non-threaded).
- Unzip and save all the content in new folder C:\Program Files\PHP\v7.2 (for example).
- Edit the php.ini file to ensure the path info are all correct.
- In IIS, launch PHP Manager, Register New PHP Version, then Change PHP version.
SQL Service Upgrade
- Download PHP Drivers for SQL from https://github.com/Microsoft/msphpsql/releases?page=2. For PHP 7.2, the file to download is Windows-7.2.zip under version 5.6.0.
- Unzip and save the nts version of php_sqlsrv.dll and php_pdo_sqlsrv.dll to C:\Program Files\PHP\v7.2\ext (for example).
- Rename them to php_sqlsrv.dll and php_pdo_sqlsrv.dll.
- Edit php.ini to include these two extensions.
Ioncube Upgrade
- Download the Loader Wizard from https://www.ioncube.com/loaders.php
- Unzip and place the loader-wizard.php file in wwwroot.
- Use Web browser to open loader-wizard.php to check and download the proper loader file.
- Unzip and place the loader file in C:\Program Files\PHP\v7.2\ext
- Edit php.ini to include the ioncube extension file.
Finally, restart IIS and keep finger crossed.