Skip to content

v1.0.0

Compare
Choose a tag to compare
@warrenbuckley warrenbuckley released this 09 May 20:19
· 89 commits to master since this release
  • New: .vscode/iisexpress.json now supports a new property protocol which is an optional property & allows you to set the protocol to either http or https By default this is set to http If you do use https then IIS Express expects the port number to be within a range of 44300 - 44399
  • New: Uses ApplicationHost.config allowing for common changes for all sites running IIS Express. This allows support for using PHP for example.

PHP Support

If you wish to use PHP then you will need to install PHP for Windows and then use the following commands in the console

NOTE: This alternatively may be \Program Files (x86)\IIS Express\

cd "c:\Program files\IIS Express\"

NOTE: The path to php-cgi.exe may be different for you so update the two commands below.

appcmd set config /section:system.webServer/fastCGI /+[fullPath='"C:\Program Files (x86)\P  HP\php-cgi.exe"']

appcmd set config /section:system.webServer/handlers /+[name='PHP_via_FastCGI',path='*.php',verb='*',modules='FastCgiModule',scriptProcessor='"C:\Program Files (x86)\PHP\php-cgi.exe"',resourceType='Unspecified']

appcmd set config /section:system.webServer/defaultDocument /+"files.[value='index.php']"