..
How to install PHP on Windows XP IIS 5.1 Server - by RazorX

RazorX -> Tutorials


Overview: This tutorial shows you how to easily install and set-up PHP for Microsoft's IIS 5.1 web server on the Windows XP Professional operating system for use as a script processor. Before you start this installation of PHP make sure you already have the IIS 5.1 server installed for Windows XP. Note: You do not have to turn the IIS web server off to install PHP, just leave it running.

Let's get started installing PHP:

The first thing to do is download the installer for Windows from PHP.net Opens a new window which should be located at http://www.php.net/downloads.php. Opens a new window


Download PHP installer

Once downloaded, double click to run the installer program, and read-over and agree to the license, then hit Next.

PHP agreement

Select the Standard install.

PHP installation type

Accept or change the base folder location to C:\PHP

PHP

For now, just leave the SMTP server as localhost and the mail function as me@localhost.com

PHP


Since Windows Professional is IIS 5.1, make the radio selection as IIS 4 or higher. You would only use the IIS 6 selection or higher for an advanced server like Windows 2003.

PHP


The installation is fairly quick, so you should see a successful completion panel now.

PHP

Let's test our PHP installation. Using Notepad or Dreamweaver, write a simple info.php test document and then save it into your C:\Inetpub\wwwroot directory.

<html>
<head>
<title>PHP test page </title>
</head>
<body>
<?php phpinfo(); ?>
</body>
</html>

With a browser, navigate to http://localhost/info.php Opens a new window You should now see your info.php test page.

PHP

Well that's it! Now you know how to install PHP and test the installation. Now live to code and code to live, uhr-a something motivating like that, or I could say, whatever just make it work.


Additional material and set-up for your IIS Server



Useful external links:


http://en.wikipedia.org/wiki/IIS Opens external window

http://www.w3schools.com/php Opens external window

http://www.php.net Opens external window

http://en.wikipedia.org/wiki/Php Opens external window

Verify as XHTML

Disclaimer: RazorX holds no responsibility or legal claims over the contents of this tutorial. As a direct or indirect result of this information if any damage should happen to your computer or network, it is understood that no support will be given by RazorX. Ultimtely you are resposnsible for evaluating any and all material and you are responsible for consulting your computer or software documentaion before following any of these instructions for modification or installation on your system.

..