/    Sign up×
Community /Pin to ProfileBookmark

help installing apache

I’ve been trying to install apache so I can edit php files offline. When I install there are three different things I have to fill in.

It says network domain, server name, and administrator’s e-mail. Do you know what I should fill in for each of these to get it to work?

to post a comment
PHP

16 Comments(s)

Copy linkTweet thisAlerts:
@chazzyNov 25.2005 — if you're using a domain, enter that here, otherwise leave blank

server name is your computer's name

administrator's email is your email address.
Copy linkTweet thisAlerts:
@bokehNov 25.2005 — You can leave them all blank, or fill them with false data if you choose, they don't affect the functioning of the server.
Copy linkTweet thisAlerts:
@MGEbballauthorNov 25.2005 — You can leave them all blank, or fill them with false data if you choose, they don't affect the functioning of the server.[/QUOTE]

Actually I have to fill everything out. Wasn't there something like http://localhost/.
Copy linkTweet thisAlerts:
@chazzyNov 25.2005 — open up a command editor and type ping localhost

you'll find that it's a name already given to your computer.

you'll see that it shows you your local ip address (127.0.0.1) and your computer's name.

and no, you don't need to fill everything out unless your computer's been preconfigured to force something like that (and you would know if you did anything like that...)
Copy linkTweet thisAlerts:
@MGEbballauthorNov 25.2005 — If I leave it blank it comes up with an error message but if I keep it at the defaults it doesn't work. Just to make sure I'm using the right file this is it right? [URL=http://apache.mirrormax.net/httpd/binaries/win32/apache_2.0.55-win32-x86-no_ssl.msi]http://apache.mirrormax.net/httpd/binaries/win32/apache_2.0.55-win32-x86-no_ssl.msi[/URL]
Copy linkTweet thisAlerts:
@chazzyNov 25.2005 — sure, if that's the flavor you want.

what error is it giving you and what are the defaults its giving you?

oh - i think i see what your trouble is.

just put in "somedomain.com"

and just to clarify:

1) for the domain, put anything, it doesn't matter. (somedomain.com)

2) for the name, it's best to put your computer name in.

3) email address, i think it can be skipped but might as well just put it in.
Copy linkTweet thisAlerts:
@MGEbballauthorNov 25.2005 — I think I just figured out the problem. I think apache needs to use port 80 but it's in use. Do you know how to make it so apache will use port 81 or something?
Copy linkTweet thisAlerts:
@bokehNov 25.2005 — What is using port 80? It is only used by web interfaces and if it is in use and you type http://localhost/ into your browser if there is something running on port 80 it should display a page.
Copy linkTweet thisAlerts:
@chazzyNov 25.2005 — during installation, you can set it to use port 8080, otherwise you can modify your httpd.conf to use any port

Look for this section
<i>
</i>#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the &lt;VirtualHost&gt;
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
#Listen 12.34.56.78:80
Listen 80

and modify Listen 80 to whatever port you want to listen on. but remember, if you change it to 81, you need to type in localhost:81 to view it.
Copy linkTweet thisAlerts:
@MGEbballauthorNov 25.2005 — I heard that a welcome page is suppose to come up when I go to http://localhost/ but I don't get that. Do I need to install a service or something. I think it installed without a problem this time.
Copy linkTweet thisAlerts:
@bokehNov 25.2005 — I'd start again with a package install that works. [URL=http://appservnetwork.com/]Follow this link[/URL] and download the package labeled 2.5.4a.
Copy linkTweet thisAlerts:
@chazzyNov 25.2005 — I heard that a welcome page is suppose to come up when I go to http://localhost/ but I don't get that. Do I need to install a service or something. I think it installed without a problem this time.[/QUOTE]

as I just pointed out, if you change your port (like you said to 81) then the url will be http://localhost:81/
Copy linkTweet thisAlerts:
@MGEbballauthorNov 25.2005 — I'd start again with a package install that works. [URL=http://appservnetwork.com/]Follow this link[/URL] and download the package labeled 2.5.4a.[/QUOTE]

I think I'll try this and let you know how it works.
Copy linkTweet thisAlerts:
@chazzyNov 25.2005 — I think I'll try this and let you know how it works.[/QUOTE]

fyi, that won't resolve your port issue.
Copy linkTweet thisAlerts:
@MGEbballauthorNov 26.2005 — Actually, I just tried it and in the program you are able to change the port and it worked. Thanks to everyone who helped me.
×

Success!

Help @MGEbball spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...