1. Configure PHPProgramRunning environment:
Install the PHP interpreter to the C: \ PHP Directory, and copy the php4ts. dll file under the directory to the c: \ windows \ system32 directory. Next, set the PHP under the PHP Directory. ini. the Dist file is renamed to PhP. INI, edit the file, find register_globals = off, change it to register_globals = on, save the modification, and copy the file to c: \ windows.
Open Control Panel-> Administrative Tools-> Internet information service, and enter the properties of the default website->. Main directory (1), click "Configure" to go to the configuration page, click "add". 2. Enter the complete path and file name of the main program and the application extension. PHP. Click "OK" after the input to complete the PHP configuration.
2. Configure the CGI program running environment
First, install the CGI interpreter Perl. For example, if the installation is c: \ Perl, open the control panel->; Administrative Tools->; Internet Information Service, then go to the default website properties->; main directory, click the "configuration" button to enter the configuration interface, then click the "add" button, enter the complete path of the main program and the file name is: C: \ Perl \ bin \ perl.exe % S % s, the input extension is. CGI: click "OK" to complete CGI configuration.
3. Configure the runtime environment of aspx (ASP. NET)
After IIS is installed, the Vs. Net running platform is installed first, because the system has configured it automatically when the Vs. NET platform is installed. If vs is installed first. net and then install IIS or re-install IIS. In this case, manual configuration is required.. Net runtime environment. The configuration process is very simple. For WINXP systems, enter the command c: \ windows \ Microsoft in the "Start">; "run" menu. net \ framework \ v1.1.4322 \ aspnet_regiis.exe-I. in Win2000, c: \ winnt \ Microsoft. net \ framework \ v1.1.4322 \ aspnet_regiis.exe-I.
With the above configuration, you can run ASP, CGI, PHP, and aspx programs on IIS.