Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: PHP - Handler Mapping (IIS)  (Read 2982 times)

0 Members and 1 Guest are viewing this topic.

ashleyj

  • Guest
PHP - Handler Mapping (IIS)
« on: January 25, 2014, 01:20:14 pm »
Hi,

This is to add handler mapping (PHP) for a domain in IIS.

1.  Open IIS Manager.
2. Click on the domain (on left pane)
3. Double click on 'Handler Mappings' from list of icons in the middle
4. Click on 'Add Module Mapping' (on right pane)
5. A dialog box pops up. Make the following entries.
===
Request Path: *.php
Module: FastCgiModule
Executable: "C:\[path-to-php installation]\php-cgi.exe"
Name: PHP-CGI
===
6. Click on 'OK' and you have added a php handler.

Hope you find this useful !!!

P.S. In a Plesk server, this is usually the path to php installation
===
C:\Program Files (x86)\Parallels\Plesk\admin\bin\php-cgi.exe
===