Windows built-in Internet Information Services (IIS) has good support for ASP, so debugging ASP pages in IIS is very convenient. But some friends' webpages use PHP programming technology. By default, IIS does not support PHP. Manually configuring IIS's PHP debugging environment is very difficult for us rookies. How can we make IIS support PHP? Here's a way to configure the PHP debugging environment in IIS in just a few simple steps.
Installing IIS Components
The author uses IIS5.1 of Windows XP as an example. First, you must install IIS components. The system is installed by default. If you don't already have it on your system, go to Control Panel→Add or Remove Programs→Add/Remove Windows Components. In the Windows Components Wizard dialog box, select the Internet Information Services (IIS) option (Figure 1). Click the "Next" button to complete the installation of the IIS component.
Figure 1 installed IIS components
configuration of PHP debugging environment
from http: //www.fyrose.com/php406.exe "PHP download the installer to the local machine, Below we use the PHP installation wizard to complete the configuration of the PHP debugging environment.
Figure 2 Select the Web server
Run the PHP package installer, pop-up Click the "Next" button in the welcome window, then click the "I Agree" button in the "License Agreement" window, then select the "Standard" installation in the Installation Type window, click the "Next" button After specifying the PHP installation directory, it is recommended to use the default installation directory. Then set the email address and the specified SMTP server in the "Mail configuration" window, and select the type of web server you are using in the "Server Type" window (eg Figure 2), because we use Windows XP system comes with IIS5.1, select "Microsoft iis4 or higher" single option, click "Next" to start the installation, and finally in the "IIS Scriptmap Node selection" window Select all the sites (Figure 3), click the "OK" button, and complete the PHP installation and configuration.
Figure 3 Select all sites
Check the PHP debugging environment configuration
Go to "Control Panel→Administrative Tools", run the Internet Information Service program, right click on "Default Web Site" and select "Properties" in the pop-up menu, then switch to the "Home Directory" tab in the pop-up Properties dialog box. Page, click the "Configure" button in the application settings bar, pop-up "Application Configuration" dialog box, in the "Map" tab, check the application mapping list box for the option with the extension ".ph p" (Figure 4), if it exists, it means that the PHP installation configuration is successful.
Figure 4 View program mapping
If this option is not found, you can also add it manually. In the application configuration Click the "Add" button in the dialog box, pop up the "Add /Edit Application Extension Mapping" dialog box (Figure 5), enter the "php.exe" program path in the "Executable" field, "Extension" Enter ".PHP", other options use the default settings, and finally click the "OK" button.
Figure 5 Manually add mapping
This completes the configuration of the PHP debugging environment , you can debug PHP files in IIS later.
After setting up a web server, the most concerned about the use of th
There are already a lot of homes with more than two desktops, and the old machines that have been re
The IIS settings in XP are very simple. It is often the problem that the parent pa
IIS pseudo-static html (URL Rewrite) setting method
After reinstalling the domain and server, users can also see the mail?
Restore Win2000/XP administrator password
Automation server can not create multiple solutions for objects
Server update is not the best solution
Windows Virtual Server Backup Two Methods
Seven server maintenance skills to create security barriers
What is the number of IIS links
When is the mobile version of Win10 pushed?
Win8 LAN shared file setting password opening scheme
Creating a personalized XP icon
Linux switch command (shutdown, reboot, halt, init)
Win8 system custom tile method
How to replace the appearance of minesweeping game with Win7
Explain the problem of memory read and write errors when running large games.