I cannot figure out for the life of me what user IIS 10 is running as.
Here's what I've tried:
<hostname>\IIS_IUSRS
<hostname>\IUSR
Gave them Read + Write + Execute on
C:\php
and
C:\inetpub\wwwroot
and I still get the error:
HTTP Error 500.0 - Internal Server Error
The FastCGI process has failed frequently recently. Try the request again in a while
(This happens when trying to open localhost\phpinfo.php
)
And yes, I followed all the steps from the manual install section in https://technet.microsoft.com/en-us/library/hh994592(v=ws.11).aspx
Except I skipped the WinCache part because they host it on SourceForge; I have successfully gotten php 5.6 (x86) Non-Threaded to run without WinCache... but this time it just will not work
EDIT
Found an error in C:\inetpub\logs\*
that looks like this
#Software: Microsoft Internet Information Services 10.0
#Version: 1.0
#Date: 2017-09-11 21:14:43
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken
2017-09-11 21:14:43 ::1 GET /phpinfo.php - 80 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/60.0.3112.113+Safari/537.36 - 500 0 3221225781 403
2017-09-11 21:15:10 ::1 GET /phpinfo.php - 80 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/60.0.3112.113+Safari/537.36 - 500 0 3221225781 48
2017-09-11 21:15:20 ::1 GET /phpinfo.php - 80 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/60.0.3112.113+Safari/537.36 - 500 0 3221225781 49
2017-09-11 21:15:27 ::1 GET /phpinfo.php - 80 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/60.0.3112.113+Safari/537.36 - 500 0 3221225781 62