The built-in Internet Information Service (IIS) in Windows has good support for ASP, so it is very convenient to debug ASP web pages in IIS. However, some friends use PHP programming skills on their Web pages. by default, IIS does not support PHP and is manually configured for IIS.
The built-in Internet Information Service (IIS) in Windows has good support for ASP, so it is very convenient to debug ASP web pages in IIS. However, some friends use PHP programming skills on their Web pages. by default, IIS does not support PHP. it is very difficult for us Cainiao to manually configure the PHP debugging environment for IIS, so how can we make IIS support PHP? The following describes how to configure the PHP debugging environment in IIS in just a few steps.
Install IIS components
Taking Windows XP IIS5.1 as an example, the IIS component must be installed first. The system is installed by default. If your system does not exist, go to "Control Panel> add or delete Programs> add/delete Windows components ", in the "Windows component wizard" dialog box, select "Internet Information Service (IIS)" option (1) and click "next" to complete IIS component installation.
Install IIS components
Configure the PHP debugging environment
From"Http: // www.fyrose.com/php406.exe"Download the PHP installer to the local machine. next we will apply the PHP installation wizard to complete the configuration of the PHP debugging environment.
Select Web Server
Run the PHP package installer, click "Next" in the pop-up welcome window, and then click "I Agree" in the "allow Protocol" window, select "Standard" in the Installation Type window, and click "Next" to specify the PHP Installation directory. we recommend that you use the default Installation directory for the application. In the "Mail configuration" window, set the email address and the specified SMTP Server. in the "Server Type" window, select the Type of the Web Server for your application (2 ), because we use Windows XP IIS5.1, select the "Microsoft iis4 or higher" option and click "next" to start installation, finally, select all the sites (3) in the "IIS Scriptmap Node selection" window and click "OK" to complete the PHP installation and configuration.
Select all sites
Check PHP debugging environment configuration
Go to "Control Panel> governance tools", run the Internet information service program, right-click "default website", and select "properties" from the menu displayed ", in the displayed Properties dialog box, switch to the "main directory" tab, and click "configure" in the "Settings" column. The "configure by program" dialog box is displayed. on the "ing" tab, check whether the extended name ". ph p option (4). If yes, PHP installation and configuration are successful.
View program ing