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.

Image

Solution:

How to install PHP 8 on IIS 10 in Server 2022?

In Web Platform Installer:

Test:

Make a file called info.php

User