Install PHP on Windows 7
w3hello.com logo
PHP Basics
What is PHP
PHP Introduction
PHP Basics
Install WAMP
Install PHP on Windows 7
PHP variables
PHP Syntax and Comments Overview
PHP Variable Types
Install PHP on Linux
Install PHP on Windows
PHP: String operator
PHP arrays
PHP Data Types - Arrays
PHP Array
PHP data types
PHP if statement
PHP: PDO
PHP if else statement
PHP assignment operators
PHP Quiz
PHP SimpleXML Parser
PHP Form
PHP Sending Emails
PHP return statement
PHP AJAX and XML
PHP Data Types - Booleans
PHP Multidimensional Array
PHP while statement
PHP File Upload
PHP Captcha
PHP break
PHP Indexed Array
PHP For C Developers
PHP declare statement
PHP Echo Vs Print Statement
PHP Append to File
PHP logical operators - AND, OR, XOR, NOT
PHP Read File
PHP Projects: Create an Opinion Poll Application
PHP XML Introduction
PHP Error Handling
PHP Concatenation Operators
PHP Indexed, Associative, and Multidimensional Arrays
PHP XML Expat Parser
PHP data types - NULL
about the PHP programming language in general
PHP File
PHP and AJAX
PHP Open File
PHP Design Patterns
PHP Useful Resources
PHP foreach loop
How Append a String in PHP
PHP $ and $$
PHP Cookies
PHP Array: Associative, Multidimensional
PHP comparison operators
PHP $_SERVER
PHP Simple XML GET
PHP - AJAX and PHP
PHP Include and Require
The pi() function
PHP Form Validation
PHP Switch Case Conditional Statements
PHP Mail
PHP Coding Standard
PHP Switch
PHP Form Introduction
PHP Loop: For, ForEach, While, Do While
PHP include statement
PHP Exception Handling
PHP Arrays Numeric, Associative and Multi-Dimensional
PHP Predefined Variables
PHP Control Structures: If else, Switch Case
PHP Constants
PHP Environment Setup Windows, Linux and Mac OS X
PHP switch statement
PHP Web Concepts Generating Dynamic Content
PHP Prepared Statements
PHP Ajax Auto Complete Search
PHP Date and Time
PHP Syntax Overview
PHP If, Else and Elseif Conditional Statements
PHP
What is PHP, and why do I need it?
PHP Server Side Form Validation
PHP Data Types : integers and floating point numbers
PHP Call By Reference
Sending Emails using PHP
Create RSS Feed in PHP
PHP Error Handling and Logging
PHP PayPal Integration
Free PHP Live Project Training in Real Time
PHP XML Parsers
Regular expressions in PHP
PHP and MySQL
Discuss PHP
PHP do while statement
PHP Get ID of Last Inserted Record
PHP Looping
PHP Basics
Previous : Install WAMP Next : PHP variables

Install PHP on Windows 7


Secondary
Nav

Steps for configuring PHP to work with IIS in Windows 7

Follow all the steps for installing PHP manually on your Windows 7 system, before you configure php to work with IIS.

Prerequisite

Make Sure that you have IIS up and running with ISAPI Filter installed.

Configuring PHP :

1. Click on Start, in the Search programs and files type "inetmgr" and press Enter. Internet Information Management window opens, Now double click on Handler mappings.

iis handler mappings

2. Now click on the Add script map.

src="install-php-on-iis-in-windows-7_iis2.png" alt="iis2" />

3. In the Add Script Map window, add *.php in the Request path, click the button next to Executable and select php5isapi.dll file from php installation folder (i.e. D:php, if you have installed php on D), add a name like php in Name field and click OK.

iis3

4. Go back to the  previous screen of Internet Information Manager by click on the blue arrow on the left corner of the screen.

iis4

5. On this screen, double click on the ISAPI Filters.

iis5

6. Click on Add on the next screen.

iis6

7. Add *.php  in the Filter name and select php5isapi.dll from the php installation folder by clicking on the button next to the Executable field.

8. Click OK.

iis8

9. Testing if PHP is installed properly.

Create a php file containing code <?php echo phpinfo(); ?> and save it as test.php.

Run this file on your web server and if you get an output like this :

test   info

then your php installation is working properly on IIS in Windows 7.

A similar process can be followed for configuring PHP to work with IIS on Windows XP.

Previous : Install WAMP Next : PHP variables
© Copyright 2018 W3Hello Publishing Limited. All rights reserved.
Contact us | Sitemap