Developers Getting Started With i2b2
Space shortcuts
Space Tools

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleNote

For additional information about PHP for windows you can go to Microsoft's website at https://learn.microsoft.com/en-us/iis/application-frameworks/install-and-configure-php-on-iis/install-and-configure-php


PHP Installation Steps

indent
Level1

1. Go to Microsoft's PHP install section https://learn.microsoft.com/en-us/iis/application-frameworks/install-and-configure-php-on-iis/install-and-configure-php#install-php

...

Info

The VC15 and VS16 PHP builds require that the Visual C++ Redistributable for Visual Studio 2015-2019 x64 or x86 be installed . Make sure you have the install.


indent
Level1

3. Under the Select roles, check the Web Server (IIS)

Image Removed

indent
Level1

4. Once the PHP installation is complete, rename the Phpphp-ini-recommended file to php.-ini-production


indent
Level1

54. Edit the php.ini file -production to set the parameters for 

fastcgi.impersonate =1

cgi.fix_pathinfo=0

cgi.force_redirect =0

open_basedir=c:\inetpub\wwroot

indent
Level1

5. Follow the documentation in https://learn.microsoft.com/en-us/iis/application-frameworks/install-and-configure-php-on-iis/install-and-configure-php to complete the PHP configuration.

Configuring IIS for PHP

Configure IIS server for PHP integration as below.

indent
Level1

6. Under the Select roles, check the Web Server (IIS)


indent
Level1

7. Under the Select role services, check the CGI selection 


...