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