Install IIS 7.5 php & FastCGI for PHP on Windows 7

Source: Internet
Author: User
Tags mcrypt
http://www.landpro.com.au/Windows_7_Install_IIS_7_&_PHP_&_FastCGI.php

Install IIS 7.5 php & FastCGI for PHP on Windows 7

Why install IIS?

Obviously want to design Web sites on your local computer and test them before uploading to your Web server.

Why is the install FastCGI and not ISAPI?

Up until PHP version 5.3 Most Web developers using PHP installed ISAPI
From PHP version 5.3 to ISAPI is not longer supported.
The alternative is to use FastCGI
Although there is many Web sites complaining about this change ISAPI works well for a website with 0-20 users,
However FastCGI runs much faster under a heavy user load and equally as well with smaller loads.

This guide has been updated and rewritten as the easiest-to-successfully Configure IIS 7.5 to work with FastCGI and PH P on Windows 7 are to use

Microsoft Web Platform Installer 2.0 from Http://www.microsoft.com/web/Downloads/platform.aspx

Why?

The installer does all

No more downloading PHP then configuring the php.ini file

No more going to your Internet information Services (IIS) Manager and adding a Handler Mapping FastCGI Module

No more going to your System Properties and setting up your environmental Variables

No more spending endless hours surfing around looking for solutions so help you get it all working (it rarely happens fi RST time)

Microsoft has done all of the hard time consuming-a change-miracles do happen.

Note:this install is completed on Windows 7 Ultimate the bit and works for the + bit systems.

STEP 1

Open the site and click on Download It now

Download it to your chosen folder

Step 2

Open the folder downloaded to & double click Wpilauncher

Step 3

Click Run

Step 4

Wait

Step 5

Select to Programs-Wish to install

In the case click on the Web Platform in the left column

Go to Frameworks and runtimes then click Customize

Step 6

Now just tick the boxes under PHP

Click Install

Step 7

Now wait while Web Platform installation downloads, installs & configures your files

Step 8

success! -click Finish

Step 9

Now to check the Install-go Start then Run

If run does not appear on menu simply type Run in ' Search progams and Files ' box

Step 10

Type cmd

Step 11

The screen below Appears-after c:\users\user> type cd C:\PHP

Hit ' Enter ' on keyboard

Step 12

After c:\php> type Php-info

Hit ' Enter ' on keyboard

Watch the screen

Step 13

The screen below is the bottom of the file

Step 14

Next Test

Open Notepad and type

Step 15

Save (using Save as ...) the file in C:\inetpub\wwwroot as info.php

Step 16

Save Php.info file here

Step 17

Close Open Folders

Open Browser and type http://localhost/info.php

The file below should come up in the screen.

success!

Note:this screens can provide a lot of information about your setup, the may come in the handy in the future.

congratulations! -You has now installed, CONFIGURED & tested IIS 7.5 & PHP & FastCGI

The next step is a using databases such as MySQL and interfacing it with PHPMyAdmin, links below

Note:this installation does not enable MCrypt by Default-see link below

In PHPMyAdmin you'll receive the following

PHPMyAdmin Error "Cannot load mcrypt extension. Please check your PHP configuration "

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.