Explanation of enabling IIS server to support php scripts

Source: Internet
Author: User

In order to make your Web site run stably, it is essential to master some correct IIS server setting skills. To this end, this article will specifically summarize some frequently used IIS server setting skills, for your reference and exchange!

Under normal circumstances, the IIS server can well support the normal operation of ASP scripts. However, many website pages now use the php script technology, by default, the IIS server cannot correctly identify the php script page. To ensure that the server can correctly run the php script, you must configure the runtime environment of the php script as follows:

First download the latest php development package from the Internet, and then install it in the server operating system. Of course, during the installation process, you must go to the "service type" setting wizard window, select the type of the Web server you are currently using. For example, the IIS6.0 built-in in the Windows 2003 Server System is used, then you must set "service type" to "Microsoft IIS4.0 or higher", and use the default settings for other parameters;

After completing the installation and configuration of the php software package, you can click the "Start", "program", "Management Tools", and "Internet Service Manager" commands in turn, in the open IIS server console window, right-click the target server site and run the "properties" command from the shortcut menu;

In the Web site property settings window that appears, click the "home directory" label, and then click the "configuration" button at "application settings" on the corresponding tab page, in the Configuration window shown in Step 4, check whether the "ing" tab page contains ". php project.

If you do not have one, you must click the Add button. In the setting box that appears, enter the specific path of the executable file php.exe and enter ". php string, and then click "OK", so that the IIS server can correctly support the php script page.

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.