|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Webservers
How would you set up a windows computer to use Apache, php, mysql, and etc.., and make it become a webserver also?
I've used phpdev, which includes all the above and then some, but I've never been able to have apache run my stuff from my computer publicly. |
|
#2
|
|||||
|
|||||
|
Re: Webservers
Quote:
http://www.apache.org http://www.mysql.com http://www.php.net Download the appropriate files, read the appropriate installation instructions, do what they say, and then you have yourself a web server. ![]() |
|
#3
|
|||||
|
|||||
|
Re: Re: Webservers
Quote:
|
|
#4
|
|||||
|
|||||
|
im not sure if you wanted this to be a testing server or an actual webserver so punch me in the face if im stupid
![]() to set it up as a local testing server you need to set the ServerName field in your apache config file to 127.0.0.1 (or localhost) to have it accessable to everyone else on the web you would need to change ServerName to your ip address which can be found using ipconfig in a dos prompt of you choice. oh, and i suggest getting apache 1.3 as apache 2.0 has some problems with php. while there is versions for 2.0 they are buggy and kinda hard to configure. hope i helped in any way possible. ![]() |
|
#5
|
|||||
|
|||||
|
Quote:
Last edited by Raven_Writer : 04-05-2003 at 14:52. |
|
#6
|
||||
|
||||
|
I installed a server on my desktop using all the files downloaded individually. Took me about 3 hours to get set up right.. on my laptop, I found a program called "FoxServ" that installs and configures everything for you in about 5 minutes. Check this program out, and look for others that do the same..
http://www.foxserv.net/portal.php |
|
#7
|
|||||
|
|||||
|
Quote:
[Edit] Well, I have it installed. But no one besides me can view it still ( test it here and please tell me what u see / what happens: http://php-test.homeunix.com/ ) [/edit] Last edited by Raven_Writer : 04-05-2003 at 15:45. |
|
#8
|
|||
|
|||
|
Quote:
How hard is it to do this sort of thing? I'd really like to run my own web server. I have cable modem for my internet connection. If you'd let me know all of what is involved in this I'd really appreciate it. |
|
#9
|
|||||
|
|||||
|
Quote:
For me, as you may have realized, it's a big pain in the arse. I've got a 1.5 meg DSL connection, which is pretty good. Download the stuff from the links brandon gave, and try to set it up yourself, it's all I can say. Chances are that I'm dead wrong on this point. |
|
#10
|
|||||
|
|||||
|
Hmm. Make sure you have a line like this:
ServerName php-test.homeunix.com and ServerType standalone ...in your httpd.conf file. Also, you need to restart it after changing the conf file, if you didn't know. |
|
#11
|
|||||
|
|||||
|
Quote:
yea, I knew about restarting apache after (after like, 20 times of confusion). Thanks again [edit] It should work now. The page should just say hi! [/edit] Last edited by Raven_Writer : 04-05-2003 at 16:34. |
|
#12
|
|||||
|
|||||
|
It's 'forbidden.' Hmm. Not totally positive how to fix that on a Windows system without permissions. Make sure you have your DocumentRoot set correctly.
|
|
#13
|
|||||
|
|||||
|
Quote:
|
|
#14
|
|||||
|
|||||
|
DocumentRoot "C:\\path\\to\\webpage"
No trailing slashes, either (and yes, there are supposed to be two) |
|
#15
|
|||||
|
|||||
|
Quote:
I'll try that in a bit [EDIT] I did that, and hopefully it works now [/EDIT] Last edited by Raven_Writer : 04-05-2003 at 16:49. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|