- Date: January 25, 2020
- Categories: Content
Step 1: Download PHP Folder
Download and extract the PHP folder into the local disk C: inside the server so that it looks like “C: \ php” (Download Link Below).
https://windows.php.net/download/
Step 2: Enable FastCGI on the server.
Part 1: To activate FastCGI go to Control Panel> Programs> Programs and Features> Turn Windows features on or off
Part 2: Select the CGI option in Internet Information Services> World Wide Web Services> Application development Features> CGI
Step 3: PHP Mapping
Part 1: Open the Internet Information Service (IIS) Manager and choose the desired server
Part 2: Click on “Handler Mappings”
Part 3: Click on “Add Module Mapping”
Part 4: Enter the data.
Request path: *.php
Module: FastCgiModule
Executable: Select the “php-cgi.exe” file located in the “C: \ php” folder. Attention, change the file type from “.dll” to “.exe”.
Name: PHP_FastCGI
In case that the tutorial didn’t work there is an excellent tutorial video below: