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
superdezign
DevNet Master
Posts: 4135 Joined: Sat Jan 20, 2007 11:06 pm
Post
by superdezign » Thu Jul 05, 2007 6:28 pm
I can see that causing a 'server cannot be found' error.
JazzyJust
Forum Commoner
Posts: 29 Joined: Wed Jul 04, 2007 11:00 am
Location: Kent
Post
by JazzyJust » Fri Jul 06, 2007 6:12 am
Right I uninstalled XAMPP and re-installed it, so I'm going to start a fresh.
How do I find the localhost:80 and do all the correct settings so I can use it.
volka
DevNet Evangelist
Posts: 8391 Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger
Post
by volka » Fri Jul 06, 2007 6:29 am
forget localhost:80
start xampp / make sure xampp is running
make sure there is a file test_xampp.php in C:\xampp\htdocs
if there is no such file use the text editor to create the file and put the content mentioned earlier in that file, save the file, close the texteditor
click link
http://localhost/test_xampp.php
What happens then?
JazzyJust
Forum Commoner
Posts: 29 Joined: Wed Jul 04, 2007 11:00 am
Location: Kent
Post
by JazzyJust » Fri Jul 06, 2007 7:37 am
It comes up with Index of /test_xampp.php
volka
DevNet Evangelist
Posts: 8391 Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger
Post
by volka » Fri Jul 06, 2007 8:13 am
Index of a file?
Did you right click in the windows explorer and chose New->Folder?
Then you have create a folder, not a file.
Last edited by
volka on Fri Jul 06, 2007 8:16 am, edited 1 time in total.
JazzyJust
Forum Commoner
Posts: 29 Joined: Wed Jul 04, 2007 11:00 am
Location: Kent
Post
by JazzyJust » Fri Jul 06, 2007 8:16 am
This is what comes up.
Index of /test_xampp.php
Icon Name Last modified Size Description[DIR] Parent Directory -
[ ] test_xampp.php 06-Jul-2007 13:29 27
Apache/2.2.4 (Win32) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.2 Server at localhost Port 80
volka
DevNet Evangelist
Posts: 8391 Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger
Post
by volka » Fri Jul 06, 2007 8:17 am
volka wrote: Did you right click in the windows explorer and chose New->Folder?
Then you have create a folder, not a file.
JazzyJust
Forum Commoner
Posts: 29 Joined: Wed Jul 04, 2007 11:00 am
Location: Kent
Post
by JazzyJust » Fri Jul 06, 2007 8:25 am
Yeah I did, was that wrong?
superdezign
DevNet Master
Posts: 4135 Joined: Sat Jan 20, 2007 11:06 pm
Post
by superdezign » Fri Jul 06, 2007 8:29 am
Si. Now, you should make the file like volka asked you to.
volka
DevNet Evangelist
Posts: 8391 Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger
Post
by volka » Fri Jul 06, 2007 8:39 am
In case you're doing this on purpose: ha ha, not funny.
If not I suggest you ask someone who can be physically present and see what you're doing. It may take years otherwise (no offense).
JazzyJust
Forum Commoner
Posts: 29 Joined: Wed Jul 04, 2007 11:00 am
Location: Kent
Post
by JazzyJust » Fri Jul 06, 2007 8:44 am
I'm not doing as a bit of fun, I'm trying to get working, just dun it the way you said and it came up with this 5.2.2.
Can someone please delete this thread?
volka
DevNet Evangelist
Posts: 8391 Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger
Post
by volka » Fri Jul 06, 2007 8:58 am
Ok, you see php is working.
The phpinfo() page already told us but now you also know you can create a new php script and it is executed by your webserver.
Happy php'ing
JazzyJust
Forum Commoner
Posts: 29 Joined: Wed Jul 04, 2007 11:00 am
Location: Kent
Post
by JazzyJust » Fri Jul 06, 2007 9:01 am
Thank you so for the inconvenience I may have caused.
I'm going to add a template to it once I've worked out how to do that then play with the coding.