PHP – How To Manually Install PHP on IIS 10.0 for Windows Server 2016



PHP – How To Manually Install PHP on IIS 10.0 for Windows Server 2016

PHP - How To Manually Install PHP on IIS 10.0 for Windows Server 2016

PHP Demo File Download – http://goo.gl/2gligS

1) Install CGI for IIS
2) Get PHP non thread safe zip package
a. http://windows.php.net/download#php-7.0
b. Unzip PHP put in “C:PHP7”
c. Give IIS “IUSR_” permissions to folder
3) Edit “php.ini”
a. fastcgi.impersonate = 1
b. cgi.fix_pathinfo=0
c. cgi.force_redirect = 0
d. extension_dir= “ext”
e. error_log=”C:PHP7php_errors.log”
f. date.timezone = “UTC”
g. Uncomment extensions required
4) Set PATH variable
5) IIS Settings
a. Add IIS Handler Mappings
b. Add “index.php” to default docs
6) Test command line
a. Possible need to download Visual C++ Redistributable 20xx Links here
http://stackoverflow.com/questions/30811668/php7-missing-vcruntime140-dll
https://www.microsoft.com/en-us/download/details.aspx?id=48145
7) Test a php web page

Comments are closed.