Many of us use PHP in windows platform and transfer the data / files to remote server. The advantage of PHP is, it works equally well in Win platform also. There are different ways to install PHP in a windows platform. Here is one of the way but this may not be the easiest way but this will give you an idea how the web server get configured for running any scripts like PHP. The same technique can be used to run any other script. This for configuringIISto execute a script based on different file extensions it receives.
2) Unzip the php...zip file to your drive. I usually unzip it to C:\php
3) Copy the c:\php\php.ini-dist file to c:\windows\php.ini. Tweak it as needed.
Start>control panel>administrative tools>Internet Information Service
Expand the + buttons on the left side area if any and Right click the label saying default web site. You will get a list of items in the menu and then go to properties section.
In the property section select go to Home Directory tab ( at the top ) and click the button Configuration. Here we are trying to tellIISto execute php.exe script for all file extensions of PHP.
Once we click the configuration button we will get one window with existing file extension and corresponding executable applications. Here we have to add our required application to the list so we have to click the Add button to add our php extension.
Open theIISManager (C:\windows\system32\inetsrv\inetmgr.exe)
Click on "Handler Mappings"
Click on the "Add Script Map" task on the right (in blue):
Fill in the dialog box like this:
Pause to enjoy this handy dialog box that I had added late in RC1 just for you, then click "yes"
If you click "Yes" it will automatically register this ISAPI /CGI with the extension restriction list - the feature we added inIIS6 to prevent unauthorized executables from running on the server. This saves time, and considering the fact that you're adding the scriptmap, it's a safe bet you want it to run.
go to yourC:\inetpub\wwwrootdirectory and create atest.phppage. You can use the simple