Home >Backend Development >PHP Tutorial >Cleverly configure the PHP debugging environment in IIS (2)_PHP tutorial

Cleverly configure the PHP debugging environment in IIS (2)_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 17:11:28922browse

Run the installer of the PHP software package, click the "Next" button in the pop-up welcome window, then click the "I Agree" button in the "License Agreement" window, and then select "Standard" in the Installation Type window (Standard)" installation, click the "Next" button and specify the PHP installation directory. It is recommended to use the default installation directory. Then set the email address and specify the SMTP server in the "Mail configuration" window, and select the type of Web server you use in the "Server Type" window (Figure 2), because we use the IIS5 that comes with Windows XP system .1. Select the "Microsoft iis4 or higher" single option, click "Next" to start the installation, and finally select all sites in the "IIS Scriptmap Node selection" window (Figure 3), click the "OK" button, and you are done. Installation and configuration of PHP.
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 "Default Website" and select "Properties" in the pop-up menu , then switch to the "Home Directory" tab in the pop-up properties dialog box, click the "Configuration" button in the application settings bar, the "Application Configuration" dialog box will pop up, and in the "Mapping" tab, view the application Check whether there is an option with the extension ".php" in the mapping list box (as shown in Figure 4). If it exists, it means that the PHP installation and configuration is successful.
Figure 4 View program mapping
If you do not find this option, 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.
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/629593.htmlTechArticleRun the installation program of the PHP software package, click the "Next" button in the pop-up welcome window, and then click " License Agreement" window, click the "I Agree" button, and then select the installation type (Install...
Statement:
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