Cleverly Configure the PHP debugging environment in IIS (II)

Source: Internet
Author: User
Tags php file php debug
To run the installer for the PHP package, click the "Next" button in the pop-up Welcome window, click the "I Agree" button in the License Agreement window, and then select "Standard (Standard)" Installation in the Installation Type window, and click "Installation" Next button, specify the installation directory for PHP, and we recommend that you use the default installation directory. Next, set the mail address in the Mail Configuration window and specify the SMTP server, select the type of Web server you use in the service type (server type) window (Figure 2) because we use Windows XP system with the IIS5.1, select the "Microsoft IIS4 or higher" single option, click "Next" after the installation, and finally in the "IIS scriptmap Node Selection" window Select all the sites (see Figure 3), click the "OK" button , you complete the installation and configuration of PHP.
Figure 3 Selecting All Sites
Check the PHP Debug environment configuration
Go to Control Panel → admin tool, run the Internet Information Service program, right-click the "Default Web Site" In the pop-up menu select "Properties", and then in the pop-up Properties dialog box to switch to the "Home Directory" tab, click on the application settings bar "Configuration" button, pop-up "application Configuration" dialog box, in the Mappings tab page, to see if the Application Mappings list box has an option with the extension. PHP (Figure 4), or if it exists, to indicate that the PHP installation configuration was successful.
Figure 4 View Program Mappings
If you do not find this option, you can also add it manually. Click the Add button in the Application Configuration dialog box, pop the Add/Edit Application Extension Mapping dialog box (Figure 5), enter the "Php.exe" program path in the "Executable" field, and enter in "extension". PHP, the other options use the default settings, and finally click the "OK" button.
Figure 5 Adding mappings manually
This completes the configuration of the PHP debugging environment and can then debug the php file in IIS.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.