Tips, tricks and manuals
Je bent niet ingelogd.
Pagina's: 1
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
<?php
phpinfo();
?>
goto http://localhost/info.php
Do you see the PHP info page?
Yes?
You're good to go!
So do this:
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
Do not make any changes to php.ini
Do not enable any extensions
Do not use PHP Manager
Do not make a Module Mapping in Handler Mappings
Because all settings are already done!
So this should work for you if you follow this guide.
Offline
Pagina's: 1