Home > Backend Development > PHP Tutorial > Fire and water are also compatible! Cleverly configure the PHP debugging environment in IIS_PHP tutorial

Fire and water are also compatible! Cleverly configure the PHP debugging environment in IIS_PHP tutorial

WBOY
Release: 2016-07-13 17:20:36
Original
793 people have browsed it

The built-in Internet Information Services (IIS) of Windows system has good support for ASP, so it is very convenient to debug ASP web pages in IIS. But some friends’ web pages use PHP programming technology. By default, IIS does not support PHP. Manually configuring the PHP debugging environment of IIS is very difficult for us novices. So how can I make IIS support PHP? Here is a method to configure the PHP debugging environment in IIS in just a few simple steps.

Install IIS components

The author takes IIS5.1 of Windows XP system as an example. First, the IIS component must be installed. It is installed by default in the system. If it is not in your system yet, go to "Control Panel → Add or Remove Programs → Add/Remove Windows Components" and select the "Internet Information Services (IIS)" option in the "Windows Component Wizard" dialog box (Figure 1) , click the "Next" button to complete the installation of IIS components.

Fire and water are also compatible! Cleverly configure the PHP debugging environment in IIS_PHP tutorial
Figure 1 Installing IIS components

Configuring PHP debugging environment

Download the PHP installation program from "www.fyrose.com/php406.exe" to the local machine. Next, we will use the PHP installation wizard to complete the configuration of the PHP debugging environment.

Fire and water are also compatible! Cleverly configure the PHP debugging environment in IIS_PHP tutorial
Figure 2 Select Web Server

Water and fire are also compatible! Cleverly configure the PHP debugging environment in IIS (2)

If this option is not found, you can also add it manually. Click the "Add" button in the application configuration dialog box to pop up the "Add/Edit Application Extension Mapping" dialog box (Figure 5). Enter the "php.exe" program path in the "Executable File" column, " Enter ".PHP" in "Extension", use the default settings for other options, and finally click the "OK" button.

Fire and water are also compatible! Cleverly configure the PHP debugging environment in IIS_PHP tutorial
Figure 5 Manually add mapping

This completes the configuration of the PHP debugging environment, and you can debug PHP files in IIS in the future.


www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/532575.htmlTechArticleThe built-in Internet Information Services (IIS) of Windows system has good support for ASP, so debugging ASP web pages in IIS is very convenient. But some friends’ web pages use PHP programming technology, and by default...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template