Click to See Complete Forum and Search --> : Installation of PHP in Windows XP Pro


netty
05-08-2003, 10:45 PM
I have Windows XP Pro on my machine. I was working in ASP.net using Microsoft ASP.net Web Matrix.

I want to install PHP on my machine and start working in it. I have php406-installer with me. I have installed it in my C drive. In the installer Wizard, I have choosen to configure with IIS 4 or above and in IIS script Map Node Selection, I have choosen WWW Service Master properties.

Installation has been successful.

What else do I have to do to work with PHP on my system? I have created a Hello World Program but in browser, it didn't show me the proper results?

Pl help urgently

Thanks a lot

Gary King
05-09-2003, 12:12 AM
What do you see instead in your browser when you type in? <?php print "Hello world!"; ?>

I have not installed PHP with IIS in a while, but I will see what I can do to help you solve your problem.

netty
05-09-2003, 12:41 AM
Thanks for your help!!

This is my program and in the explorer I see it in the similar way:

<html>
<h3>My first PHP Program</h3>
<?php print "Hello world!"; ?>
</html>


It works with IIS also but don't know how?

Gary King
05-09-2003, 09:05 AM
So it doesn't even display the HTML properly?

netty
05-10-2003, 05:33 AM
Hi,

It is working now. In the code the problem was in copying the code here. The main problem was that I was not saving the file in wwwroot of inetpub. I saved the files in wwwroot and in the browser, the path I gave as

http://localhost/php/test.php

Its working fine.

Thanx for ur help.