Page 1 of 1

please help - http server, php, localhost

Posted: Fri Apr 02, 2004 12:36 pm
by newmember
i want to make my webpage and among many other things i started to learn php
i'm looking for some simple way to test/run my php files on my computer

until now i installed apache http server and also php runtime
i "think" i configured everything properly...
i'm triyng to connect to my apache server like this:
http:\\127.0.01\~user1
but nothing happens

so to sum things up after 5 hours i'm pretty tired from configuring this apache server: everything must be done manually and there is so many different options :?

basicly what i want is to be able to put my website localy on my computer and test it

thanks

Posted: Fri Apr 02, 2004 12:51 pm
by magicrobotmonkey
ltry losing the ~user1 also try doing http://localhost what OS are you on?

Posted: Fri Apr 02, 2004 12:59 pm
by newmember
i'm on winxp pro

and i did tried many variants like you suggest it doesn't work
there is a UserDir setting in httpd.txt (configuration file for apache)
maybe i didn't set it right
but anyway i should see some responce from the server :cry:

Posted: Fri Apr 02, 2004 1:01 pm
by magicrobotmonkey
ahh - you don't want httpd.txt - you want httpd.conf - find that file and do the settings there or just copy over from httpd.txr

Posted: Fri Apr 02, 2004 1:20 pm
by newmember
i'm sorry i meant httpd.conf
i don't know why i wrote httpd.txt

Posted: Fri Apr 02, 2004 1:23 pm
by magicrobotmonkey
oh crap i was hoping that was it! now when you say nothing happens, what exactly do you mean?

Posted: Fri Apr 02, 2004 1:24 pm
by newmember
i mean that i should see in the logs that there was a conection attempt
like i can see for example if i ran ftp server

Posted: Fri Apr 02, 2004 1:36 pm
by newmember
well now i know that the problem is with settings
because if i write like this i reach the server
http://127.0.0.1:8080

so i will check the settings

thanks

Posted: Fri Apr 02, 2004 1:36 pm
by magicrobotmonkey
But what does IE say?

Posted: Fri Apr 02, 2004 1:39 pm
by ol4pr0
Did you start apache? Dumb question however...

edit: sorry didnt read it all, just change the Listen 8080 to Listen 80.

( some isp may of block that port tho.. ifso .. 8080 will have to do )

Posted: Fri Apr 02, 2004 1:43 pm
by magicrobotmonkey
yea youre set up to see port 8080 instead of 80 - that's wierd if you didn't do it i dont know why it would be like that

Posted: Fri Apr 02, 2004 5:11 pm
by Pozor
Hallo,

I tried to install apache with php and mysql too (all installs separate).

I found a really easy way to install them!

try this 10 Min and your server is running with apache,php,mysql

http://sourceforge.net/project/showfile ... e_id=29748

there you find all the releases!

take 2.3.0 for a stable version, the new one (only 8MB), im not sure, is still beta release...

at the moment i cant reach the page of appserv... -> take 2.3.0 it a good release (i use it) :D


greez Pozor

Posted: Fri Apr 02, 2004 5:13 pm
by d3ad1ysp0rk
ya, some ppl like installing them seperately.. just to get the experience :P

Posted: Sat Apr 03, 2004 3:12 pm
by newmember
Thanks Pozor
i will give it a try