Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Website Design/Showcase (http://www.chiefdelphi.com/forums/forumdisplay.php?f=64)
-   -   Webservers (http://www.chiefdelphi.com/forums/showthread.php?t=20579)

Raven_Writer 04-05-2003 12:52

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.

Brandon Martus 04-05-2003 14:29

Re: Webservers
 
Quote:

Originally posted by Raven_Writer
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.

Go to

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. :)

Raven_Writer 04-05-2003 14:32

Re: Re: Webservers
 
Quote:

Originally posted by Brandon Martus
Go to

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. :)

Thank you. I'll post back and say how it went.

Trashed20 04-05-2003 14:47

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 :p

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. :)

Raven_Writer 04-05-2003 14:50

Quote:

Originally posted by Trashed20
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 :p

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. :)

an actual webserver is what i'm looking for. I am currently using phpdev w/ apache v1.3.27. It includes mysql, php, apache, and everything.

AJ Quick 04-05-2003 15:11

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

Raven_Writer 04-05-2003 15:20

Quote:

Originally posted by AJ Quick
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

I'm trying it out right now (DSL is god!!!). I'm downloading it right now, and when it's done, I'll check it all out.

[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]

sanddrag 04-05-2003 16:15

Quote:

Originally posted by Raven_Writer
[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]
"The page cannot be displayed" Perhaps you need to wait a day for DNS updates?

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.

Raven_Writer 04-05-2003 16:17

Quote:

Originally posted by sanddrag
"The page cannot be displayed" Perhaps you need to wait a day for DNS updates?

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.

Maybe...I'm going through dyndns.org by the way.

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.

evulish 04-05-2003 16:29

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.

Raven_Writer 04-05-2003 16:31

Quote:

Originally posted by evulish
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.

Ok, thanks.

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]

evulish 04-05-2003 16:41

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.

Raven_Writer 04-05-2003 16:42

Quote:

Originally posted by evulish
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.
What should it be?

evulish 04-05-2003 16:44

DocumentRoot "C:\\path\\to\\webpage"

No trailing slashes, either (and yes, there are supposed to be two)

Raven_Writer 04-05-2003 16:45

Quote:

Originally posted by evulish
DocumentRoot "C:\\path\\to\\webpage"

No trailing slashes, either (and yes, there are supposed to be two)

Ok, thank you.

I'll try that in a bit

[EDIT] I did that, and hopefully it works now [/EDIT]


All times are GMT -5. The time now is 02:04.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi