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
newmember
Forum Contributor
Posts: 252 Joined: Fri Apr 02, 2004 12:36 pm
Post
by newmember » Fri Apr 02, 2004 12:36 pm
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
newmember
Forum Contributor
Posts: 252 Joined: Fri Apr 02, 2004 12:36 pm
Post
by newmember » Fri Apr 02, 2004 12:59 pm
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
magicrobotmonkey
Forum Regular
Posts: 888 Joined: Sun Mar 21, 2004 1:09 pm
Location: Cambridge, MA
Post
by magicrobotmonkey » Fri Apr 02, 2004 1:01 pm
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
newmember
Forum Contributor
Posts: 252 Joined: Fri Apr 02, 2004 12:36 pm
Post
by newmember » Fri Apr 02, 2004 1:20 pm
i'm sorry i meant httpd.conf
i don't know why i wrote httpd.txt
magicrobotmonkey
Forum Regular
Posts: 888 Joined: Sun Mar 21, 2004 1:09 pm
Location: Cambridge, MA
Post
by magicrobotmonkey » Fri Apr 02, 2004 1:23 pm
oh crap i was hoping that was it! now when you say nothing happens, what exactly do you mean?
newmember
Forum Contributor
Posts: 252 Joined: Fri Apr 02, 2004 12:36 pm
Post
by newmember » Fri Apr 02, 2004 1:24 pm
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
newmember
Forum Contributor
Posts: 252 Joined: Fri Apr 02, 2004 12:36 pm
Post
by newmember » Fri Apr 02, 2004 1:36 pm
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
ol4pr0
Forum Regular
Posts: 926 Joined: Thu Jan 08, 2004 11:22 am
Location: ecuador
Post
by ol4pr0 » Fri Apr 02, 2004 1:39 pm
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 )
Last edited by
ol4pr0 on Fri Apr 02, 2004 3:16 pm, edited 1 time in total.
magicrobotmonkey
Forum Regular
Posts: 888 Joined: Sun Mar 21, 2004 1:09 pm
Location: Cambridge, MA
Post
by magicrobotmonkey » Fri Apr 02, 2004 1:43 pm
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
Pozor
Forum Commoner
Posts: 74 Joined: Tue Mar 30, 2004 11:11 pm
Location: Switzerland
Post
by Pozor » Fri Apr 02, 2004 5:11 pm
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)
greez Pozor
d3ad1ysp0rk
Forum Donator
Posts: 1661 Joined: Mon Oct 20, 2003 8:31 pm
Location: Maine, USA
Post
by d3ad1ysp0rk » Fri Apr 02, 2004 5:13 pm
ya, some ppl like installing them seperately.. just to get the experience
newmember
Forum Contributor
Posts: 252 Joined: Fri Apr 02, 2004 12:36 pm
Post
by newmember » Sat Apr 03, 2004 3:12 pm
Thanks Pozor
i will give it a try