How to install PHP 8 on IIS 10 in Server 2022
How to install PHP 8 on IIS 10 in Server 2022?
If you try to open a PHP file from your website and PHP is not properly installed you will get an Internal Server Error 500 in your browser.

Solution:
How to install PHP 8 on IIS 10 in Server 2022?
-
Install Server 2022
-
Install IIS with the CGI option ticked
-
Install Microsoft Web Platform Installer 5.1
In Web Platform Installer:
- Install PHP 8.0 64bit
Test:
Make a file called info.php