How To Install Microsoft Web Server Internet Information Server IIS and PHP on Windows 10


windows-on-android-2690101_640

Configure IIS (Microsoft Web Server) via “add remove windows components” and then running inet manager.

Install PHP On Windows 10

Download and install Visual C++ Redistributable for Visual Studio 2015

http://www.microsoft.com/en-us/download/details.aspx?id=48145

Next, download PHP (VC15 x64 Non Thread Safe) ZIP file from this link;

https://windows.php.net/download/

In the C:\PHP7 folder, rename the file php.ini-development to php.ini.

Edit the php.ini file in a text editor (e.g. Notepad++, Atom, or Sublime Text).

Change the following settings in the file and save the file:

Change memory_limit from 128M to 1G (because Composer can use lots of memory!)

Uncomment the line that reads ; extension_dir = “ext” (remove the ; so the line is just extension_dir = “ext”).

In the section where there are a bunch of extension= lines, uncomment the following lines:

extension=php_gd2.dll
extension=php_curl.dll
extension=php_mbstring.dll
extension=php_openssl.dll
extension=php_pdo_mysql.dll
extension=php_pdo_sqlite.dll
extension=php_sockets.dll

Add C:\PHP7 to your Windows system path:

Open the System Control Panel.

Click ‘Advanced System Settings’.

Click the ‘Environment Variables…’ button.

Click on the Path row under ‘System variables’, and click ‘Edit…’

Click ‘New’ and add the row C:\PHP7.

Click OK, then OK, then OK, and close out of the System Control Panel.

Run | inetmgr
Handler Mappings | Add Module Mapping

Request path: *.php
Module: FastCgiModule (from the dropdown)
Executable (optional): C:\PHP\php-cgi.exe
Name: FastCGI

Next, create a test.php file via Notepad with this content and save it in the website directory (c:/inet/wwwroot/);

<?php phpinfo(); ?>

Install MySQL on Windows 10

https://dev.mysql.com/downloads/installer/

Install phpMyADMIN on Windows 10

This slideshow requires JavaScript.

Courtesy:

http://www.independent-software.com/setting-up-a-wordpress-development-enviroment-on-windows-iis.html

https://www.jeffgeerling.com/blog/2018/installing-php-7-and-composer-on-windows-10

https://jamesmccaffrey.wordpress.com/2017/01/26/installing-php-on-windows-10-and-iis/

How to Install phpMyAdmin on IIS in Windows Server

https://theitbros.com/how-to-install-and-configure-phpmyadmin-on-iis-in-windows-8server-2012/

 

 

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s