Vous êtes sur la page 1sur 8

How To Install and Configure Microsoft IIS 7.

5, PHP, MySQL, and PhpMyadmin On Windows 7

Author : A. SidiQ P. (DnD Sandy Ra) Email : sandy.raharja@gmail.com


Lisensi Dokumen: Copyright 2011 sq.web.id Seluruh dokumen di sq.web.id dapat digunakan, dimodifikasi dan disebarkan secara bebas untuk tujuan pendidikan (bukan komersial (nonprofit)), dengan syarat tidak menghapus atau merubah atribut penulis dan pernyataan copyright yang disertakan dalam setiap dokumen.

Step by step for manually setting up Internet Information Services (IIS) 7.5 and later to work with PHP on Microsoft Windows 7. 1. Requirements For manual Installation : o Microsoft .NET Framework 4.0 Can be downloaded for free at : http://www.microsoft.com/net/download/version-4 o Microsoft IIS 7.5 Can be downloaded for free at : http://www.microsoft.com/download/en/details.aspx?id=1038 Or you can Install Microsoft IIS using the Microsoft Web Platform (Web PI) : Can be download for free at http://www.microsoft.com/web/downloads/platform.aspx Installing Microsoft IIS 7.5 Using The Web PI Double click Web PI installer (*.exe file, example : wpilauncher_3_10.exe), and then search IIS 7.5 Express in the Search text field. You will see a window that looks like this :

2.

SQ http://sq.web.id 1

Click Add button beside IIS 7.5 Express, and then click the Install button at the bottom of the screen. On the next window click the I Accept button. The next step, please wait for the finished installation. To complete the installation process, click the "Finish" button. To ensure that the IIS 7.5 Express installation has been done can work well, the next step open your favorite browser and type http://localhost in the address bar and press the button enter on the keyboard. If you will see the below page , then your IIS works fine.

SQ http://sq.web.id 2

3.

Configuring FastCGI (Enabling FastCGI support in Microsoft IIS 7.5)

FastCGI module is disabled in default installation of IIS. The steps to enable FastCGI support on Windows 7: 1. Open Optional Features : Click the Windows Start Menu, type optionalfeatures in the Search programs and fields text field and then press Enter on the keyboard. Or In the Windows Start Menu Select Uninstall a program and then click Turn Windows features on or off.

2. In the "Windows Features" dialog expand "Internet Information Services", "World Wide Web Services", "Application Development Features" and then enable the "CGI" checkbox.

3. Click the OK button and wait until the installation is complete.

SQ http://sq.web.id 3

4.

Installing PHP For the installation of PHP you can see in the url http://www.sq.web.id/2011/11/how-to-installphp-engine-on-windows-7.html . But, important to note : o In step 6 : On the window PHP 5.3.8 Setup Web Server Setup, click the radio button IIS FastCGI. Installing PHP Manager For IIS
For manual Installation PHP Manager For IIS Can be downloaded for free at : o http://phpmanager.codeplex.com/releases/view/69115 Or you can Install PHP Manager For IIS using the Microsoft Web Platform (Web PI). o Double click Web PI installer (*.exe file, example : wpilauncher_3_10.exe), and then search PHP Manager for IIS in the Search text field. You will see a window that looks like this :

5.

o o o o

Click Add button beside PHP Manager for IIS, and then click the Install button at the bottom of the screen. On the next window click the I Accept button. The next step, please wait for the finished installation. To complete the installation process, click the "Finish" button.

SQ http://sq.web.id 4

6.

Configuring PHP Manager for IIS Open PHP Manager for IIS, Click the Windows Start Menu, type IIS Manager in the Search programs and fields text field and then press Enter on the keyboard.

On the window Internet Information Service (IIS Manager), Find the "PHP Manager" feature, see the below image :

Click on "Register new PHP version" task and then provide the full path to the location of the main php executable file: php-cgi.exe (Example : C:\Program Files\PHP\v5.3\php-cgi.exe).

SQ http://sq.web.id 5

Click on "Check phpinfo()", and then click the Ok button.

SQ http://sq.web.id 6

If you will see the below page , then your PHP works fine.

7.

Installing MySQL For the installation of mysql you can see in the url http://www.sq.web.id/2011/11/how-toinstall-mysql-database-server-on.html . SQ http://sq.web.id 7

8.

Installing PhpMyAdmin For the installation of PhpMyAdmin you can see in the url http://www.sq.web.id/2011/11/howto-install-phpmyadmin-on-windows-7.html . But, important to note : o In step 1 : Extract the zip archive (example : phpMyAdmin-3.4.7.1-all-languages.zip) to ".\wwwroot" directory under drive C:\ (example : C:\inetpub\wwwroot).

9.

Directory To Save The Program PHP and MySQL MySQL o If you create databases and tables with MySQL, then by default your database will be stored in a directory C:\ProgramData\MySQL\MySQL Server 5.5\data. PHP o

If you create a program with PHP, so can be run on localhost, then it must be stored in ".. \wwwroot" directory. C:\inetpub\wwwroot.

SQ http://sq.web.id 8

Vous aimerez peut-être aussi