php - What user runs by default - HTTP Error 500.0 in IIS 10? -
i cannot figure out life of me user iis 10 running as.
here's i've tried:
<hostname>\iis_iusrs
<hostname>\iusr
gave them read + write + execute on
c:\php
and
c:\inetpub\wwwroot
and still error:
http error 500.0 - internal server error fastcgi process has failed recently. try request again in while
(this happens when trying open localhost\phpinfo.php
)
and yes, followed steps manual install section in https://technet.microsoft.com/en-us/library/hh994592(v=ws.11).aspx
except skipped wincache part because host on sourceforge; have gotten php 5.6 (x86) non-threaded run without wincache... time not work
edit
found error in c:\inetpub\logs\*
looks 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 /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 /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 /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 /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
in php.ini, set following variables , restart web server.
log_errors=1 display_errors=1 error_reporting=-1
Comments
Post a Comment