Encountered IIS7 configuration PHP 403 and 404 Error Resolution

Source: Internet
Author: User
Tags configuration php

Server to configure PHP, there is always a 403 error. The server is newly installed, the operating system is Windows Server R2, installed IIS7.

IIS PHP and the local server compared several times, not to the cause of the error, later through the CMD run php-v, found the problem, the original is not installed Vc_redist_x64_2012.exe reference .

Installed after, first built an application site, PHP is running normally, but the site root directory of the PHP program, is not run up, prompted 404.17 error.

The PHP environment of the site root is also configured according to the application method below it, it is not possible to modify the application pool.

Later in looking for a half-day search online method, there is a reference to my attention, fastcgi configuration, remember to add PHP in the processing program map, there are such hints.

However, I can not find the fastcgi configuration in IIS, and the IIS reload again, some of the options that were not selected before the selection, and then run the program, finally ran up, finally determined that the compatibility IIS6 is not selected, resulting in IIS does not install fastcgi setup reasons.

Encountered IIS7 configuration PHP 403 and 404 Error Resolution

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.