PHPtriad

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
zopm
Forum Newbie
Posts: 2
Joined: Tue Sep 10, 2002 1:39 am

PHPtriad

Post by zopm »

I'm new to server side scripting so take it easy-BUT SOMEONE PLEASE REPLY!!!! I just downloaded PHPtriad, installed it and tried to run the first script-the hello world one thats in every first time tutorial. Anyway, I saved it under firstscript.php in the apache/mydocs directory like it stated, whipped up the browser, found the file and it didnt work-nothing came up. I had the apache server running(although I dont know the foirst thing about a server,I just clicked it on and it said it was running). Any ideas why it wouldnt work.
One more Q-you can run the apache server on your own computer, cant you.
DSM
Forum Contributor
Posts: 101
Joined: Thu May 02, 2002 11:51 am
Location: New Mexico, USA

Post by DSM »

qads
DevNet Resident
Posts: 1199
Joined: Tue Apr 23, 2002 10:02 am
Location: Brisbane

Post by qads »

if you installed it for very first time then you will have to click "install apache as service"......
User avatar
phice
Moderator
Posts: 1416
Joined: Sat Apr 20, 2002 3:14 pm
Location: Dallas, TX
Contact:

Post by phice »

If you know how to run the server and all that, then ignore this...

First, you go to your C:\apache\ folder, and double click on "apache.exe" You have to keep that DOS command prompt open when you want the server to be up. Then, go to the \htdocs folder inside the C:\apache\ folder, and save the .php file inside there. Next, open IE and go to http://localhost/firstfile.php and it should work.
Image Image
User avatar
Takuma
Forum Regular
Posts: 931
Joined: Sun Aug 04, 2002 10:24 am
Location: UK
Contact:

Post by Takuma »

Are you sure you got the address right? Like DSM says it needs to be something like this:-
Not
  • C:\My Documents\firstscript.php
Post Reply