Install PHP on Windows XP (part2)
up Microsoft Internet Information Server (IIS) compatible with PHP.
Click on "Start", select "Control Panel" and click on "Administrative
Tools" icon. In the popup window, click "Internet Information Services"
icon. You will see the following window:
Right click on "Default Web Site" or any virtual directory in it.
You will see the following window:
In "Home Directory" Tab, select "Scripts only" for "Execute
Then click on "Configuration." button. You will see the
Click "Add" button.
Input "c:\php\php5isapi.dll" for "Executable" and ".php" for
"Extension". Then click several "OK" to close
all those windows.
your installation. Copy the following code, save as test.php and
move it to C:\inetpub\wwwroot or any virtual directory you just go
through the above installation steps.
<?php echo '<p>Hello World</p>'; ?>
Assume you put test.php under C:\inetpub\wwwroot. Open your browser,
type http://localhost/test.php, you
should be able to see "Hello world".
Congratulations! You are ready to learn PHP.