This guide describes installation of PHP with FastCGI on IIS7 / IIS8 server. Actual PHP versions work with IIS via FastCGI interface. We will explain how to install FastCGI and configure it to work with PHP. Installing the FastCGI Extension for IIS 7 / IIS 8 Windows Server Add the CGI role service by going to Server Manager - Roles - Add Role Services. This enables both the CGI and FastCGI services: Windows 7 and Windows Vista SP1 Add the CGI feature by going to Control Panel - Programs and Features - Turn Windows features on or off.
![Visual Visual](/uploads/1/2/5/6/125640469/235078133.png)
![Visual studio 2017 web form with database Visual studio 2017 web form with database](/uploads/1/2/5/6/125640469/317137008.jpg)
First, make a Database on Microsoft SQL Server. Now open Visual Studio 2013. Select new Project from web option use ASP.NET empty Web Application. After loading project, select click Tools at top then select connect to Database option. Add connection dialogue box will appear click at change option and select the Microsoft SQL Server. Apr 14, 2013 I made a database with a single table in Visual Studio. The table is a user table with rows first name, last name, username and password along with the primary key id. I made a web form that allows the user to input his first name, last name, username and password then click a button that is suppose to input that data to the table I created.
This enables both the CGI and FastCGI services. Download and Install PHP. You need the latest version of PHP v5.6 family. Choose ZIP package VC11 x86 Non Thread Safe. Please note that PHP v7. and x64 versions are not supported at this time. Extract the contents of PHP zip package to a folder on your server, e.g.
C: PHP. Make a copy of the php.ini-production file and name it php.ini. Open the php.ini and setup the following parameters.