Page 1 of 1

help!!! iis, php installment

Posted: Sat Aug 09, 2003 11:29 pm
by lancet2003
Hi:
I am a new beginner to web design, I have been stick for this whole day. Anybody can help me?

1. I run in Win2k professional, I installed IIS today.

2. I downloaded the PHP 4.3.2 installer from this website
http://www.php.net/downloads.php

according to what it says, I think I don’t need to configure the IIS.

3. I wrote my first program example1.php and put it in the C:\Inetpub\wwwroot

<HTML>
<BODY>
The data at the moment is
<?php echo gmdate("M d Y");
?>
</BODY>
</HTML>.

when I run this file
Why there only shows
“The data at the moment is”
It seems that the php code here can not run

Thanks!

Posted: Sun Aug 10, 2003 1:54 am
by nigma
You have to configure IIS. Go here for setup instructions:
http://www.php.net/manual/en/install.ii ... l.iis.iis4

iss configuration

Posted: Sun Aug 10, 2003 12:14 pm
by lancet2003
I agree with you that the problem comes from iis.

when I want to start defaut website, a message box will show up
and tell me

Address already in use

what is the problem?

during the configuration, I do not know how to follow this instruction

"In the Extension box, type the file name extension you want associated with PHP scripts."

Posted: Sun Aug 10, 2003 2:15 pm
by nigma
I don't have enough expierence with IIS to tell you what is wrong.

Posted: Sun Aug 10, 2003 2:16 pm
by m3rajk
is the file .html or .php?


i've noticed a common beginner mistake is .html.....

I got it

Posted: Sun Aug 10, 2003 3:35 pm
by lancet2003
I transfer to another computer in my lab, then everything is OK
The same thing happened when I used OLAP last semester. I dont know why.

Thanks so much for you help.

Posted: Mon Aug 11, 2003 1:22 am
by nigma
Absolutely no problem, PM or mail me if you need any help in the future and you think I could be of assistance. If you do decide to mail me then please put your PHPDN Username in the Subject so I don't delete it thinking it's spam.

Posted: Mon Aug 11, 2003 3:39 am
by toms100
are you sure you went to:
http://localhost/example1.php ?