View previous topic :: View next topic |
Author |
Message |
NeedWork -
Joined: 04 Sep 2003 Posts: 4 Location: New Jersey
|
Posted: Fri Sep 05, 2003 8:25 am Post subject: The Next Step after installing PHP 4.3.2 |
|
|
I am a newbie. I have installed PHP 4.3.2 and it works - I get "Welcome to Abyss Server X1" in my browser. I tried to open my first php ("hello world") but I still get the Welcome message. I changed the file name
c:\program files\abysss web server\htdocs\index.html to mine - /index.php
This is the code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>First PHP</title>
</head>
<body>
<?php
echo "<p>Hello World</p>";
?>
</body>
</html
Please tell me what me what is missing. |
|
Back to top |
 |
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
|
Back to top |
|
 |
NeedWork -
Joined: 04 Sep 2003 Posts: 4 Location: New Jersey
|
Posted: Fri Sep 05, 2003 10:50 pm Post subject: Re: The Next Step after installing PHP 4.3.2 |
|
|
Where do I test the code then? I was thinking I needed to test the code before I ftp it to my website. This is a newbie talking. |
|
Back to top |
 |
 |
Quest -
Joined: 30 Aug 2003 Posts: 6
|
Posted: Sat Sep 06, 2003 2:37 am Post subject: |
|
|
Test it on your server. http://IP(without :9999)/index.php
http://0.0.0.0/index.php // the 0 is your IP
the quick way is goto ur console and delete ":9999"
lates _________________ Hip-Hop, Break Dancing is the way of my life, and also RPGs |
|
Back to top |
|
 |
NeedWork -
Joined: 04 Sep 2003 Posts: 4 Location: New Jersey
|
Posted: Sat Sep 06, 2003 4:36 am Post subject: Re: The Next Step after installing PHP 4.3.2 |
|
|
Quest, thank you so much. I got it working now. |
|
Back to top |
 |
 |
Quest -
Joined: 30 Aug 2003 Posts: 6
|
Posted: Sat Sep 06, 2003 7:39 am Post subject: |
|
|
By the way, if your on the internet.
Your AWS is broad casting on the net.
If your using a dial up. Look up your ISP IP, or if u have Cable/DSL,
you will notice internet user can access your server. _________________ Hip-Hop, Break Dancing is the way of my life, and also RPGs |
|
Back to top |
|
 |
|