Below are the prerequisites for setting up an IIS server.
On the lefthand column of Programs and Features select Turn Windows features on or off. Here you are able to select the check box to turn on Internet Information Services.
You will find a shortcut to run the ISS Manager under Administrative Tools. On the righthand column of the IIS Manager click Get New Web Platform components. This will open a browser where you will be able to download the installer for Microsoft's web installer.
Once installed, you can launch Microsoft's web installer from within the IIS Manager by clicking Get New Web Platform components. Select the Products tab and install PHP 5.5.9 or above. Note that in Windows 10 the PHP Manager for IIS may fail to install. You can ignore this message.
In the IIS Manager select the Features View and then double click Handler Mappings. Right-click on PHP_via_FastCGI and select edit. Click Request Restrictions..., select the Verbs tab, select One of the following verbs and enter GET,HEAD,POST,PUT,PATCH,DELETE,OPTIONS. You may then be prompted to double quote the path under Executable.
Microsoft's web installer will also install the URL Rewrite
module. However, if you use another installation method you may need to install it manually. You can verify whether it is installed or not in IIS Manager's Features View
. For more information and to download the URL Rewrite module click here
Locate the php.ini file for the new installation of PHP. You may have multiple copies on your computer. The default install path will be under Program Files (x86) or Program Files depending one whether you installed the 32 or 64 bit version. The root of the install directory will be PHP. You will find the php.ini file in the subdirectory that was named for the version you installed. Open php.ini with Notepad and search for [ExtensionList]. Copy and paste extension=php_fileinfo.dll on the next line. Save and close the file.
Download the MySQL Server here
. For help with installation see the documentation
. Do not forget to start the server. If you installed MySQL Server as a service you can start it by doing the following:
- Win + R
- Run services.msc
- Right-click on MySQLXX
Alternatively, if you did not install MySQL server as a service or have a web development environment like WampServer installed, you can start MySQL Server from the command line. You will need to open a command prompt and change directory to the directory that contains mysqld.exe