Step 33 of 82
← Home
🌐 Phase: Server & Web Setup

Step 33 Install PHP 8 on IIS 10 (Server 2022)

Why this step? Power your website with PHP on Windows Server.

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?

  • 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