PHP Install Help Required

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

JazzyJust
Forum Commoner
Posts: 29
Joined: Wed Jul 04, 2007 11:00 am
Location: Kent

Post by JazzyJust »

this is what happened http://localhost/test_xampp.php/
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

localhost means "your own computer". It has no meaning for "us".
If I'd call http://localhost/test_xampp.php/ my browser would request my own webserver, not yours.
see http://en.wikipedia.org/wiki/Localhost
JazzyJust
Forum Commoner
Posts: 29
Joined: Wed Jul 04, 2007 11:00 am
Location: Kent

Post by JazzyJust »

so what I put up was wrong then?
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

Maybe not wrong, but you can't show it to us this way.
JazzyJust
Forum Commoner
Posts: 29
Joined: Wed Jul 04, 2007 11:00 am
Location: Kent

Post by JazzyJust »

So what do I put it as then?
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

http://localhost/test_xampp.php is fine if you want to test it yourself.
actually the address is localhost:80, your webbrowser adds the :80 as default value.
Think of it as "go take a look at what's happening in room #80 in this building".
While this works perfectly as long as you're in the same building it has no (or a different) meaning for someone that is in another building.
For someone in another building you have to give a description like "go to 221b Baker Street and take a look at what's happening in room #80".
JazzyJust
Forum Commoner
Posts: 29
Joined: Wed Jul 04, 2007 11:00 am
Location: Kent

Post by JazzyJust »

Do I need to add anything to the file to get it so you can't see it?
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

JazzyJust
Forum Commoner
Posts: 29
Joined: Wed Jul 04, 2007 11:00 am
Location: Kent

Post by JazzyJust »

So I'm doing it right apart from the local 80 bit
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

You could always just copy whats on the screen on paste it.
JazzyJust
Forum Commoner
Posts: 29
Joined: Wed Jul 04, 2007 11:00 am
Location: Kent

Post by JazzyJust »

the only place I can find localhost:80 is on apache2handler but I don't know how to add the php to it, or am I doing the wrong thing?
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

Please just click on this link: http://locahost/test_xampp.php and then tell us what happened.
JazzyJust
Forum Commoner
Posts: 29
Joined: Wed Jul 04, 2007 11:00 am
Location: Kent

Post by JazzyJust »

It comes up with server can't be found
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

Start Xampp and try again.
JazzyJust
Forum Commoner
Posts: 29
Joined: Wed Jul 04, 2007 11:00 am
Location: Kent

Post by JazzyJust »

you mean reinstall or restart Xampp
Post Reply