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 Development. This article will provide readers with the built-in Internet Information Service (IIS) in Windows) it 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 Development. This article will show readers how to make IIS and PHP development work seamlessly.
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.
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 Web Server
IIS does not support PHP. it is very difficult for us Cainiao to manually configure the PHP debugging environment for IIS. how can we enable IIS to support PHP? The following describes how to configure the PHP debugging environment in IIS in just a few steps.
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 ". php "option (4). If yes, the PHP installation configuration is successful.
View program ing
If this option is not found, you can also manually add it. In the application configuration dialog box, click the "add" button to bring up the "Add/extend utility program" dialog box (5 bytes). enter the "php.exe" program path in the "expand name" field in the "overview" text box and enter ". PHP ", other options apply the default settings, and then click the" OK "button.