APACHE installation not working! :(

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
GenerikBoy
Forum Newbie
Posts: 8
Joined: Sat Dec 13, 2003 5:15 pm

APACHE installation not working! :(

Post by GenerikBoy »

hi i'm having a problem with my installation of apache.
these are the values i entered during install
domain: localhost
server: localhost
email: does it matter? :P

... then i ran the apache console and opened my browser and typed "http://localhost" (as instructed). but i get the "page cannot be displayed"! :(

my error log displays this (which gives me the impression that its working fine so i have no idea whats going on):

[Sat Dec 13 21:48:50 2003] [notice] Parent: Created child process 732
[Sat Dec 13 21:48:50 2003] [notice] Child 732: Child process is running
[Sat Dec 13 21:48:50 2003] [notice] Child 732: Acquired the start mutex.
[Sat Dec 13 21:48:50 2003] [notice] Child 732: Starting 250 worker threads.
[Sat Dec 13 21:51:53 2003] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Sat Dec 13 21:51:53 2003] [notice] Child 732: Exit event signaled. Child process is ending.
[Sat Dec 13 21:51:54 2003] [notice] Child 732: Released the start mutex
[Sat Dec 13 21:51:55 2003] [notice] Child 732: Waiting for 250 worker threads to exit.
[Sat Dec 13 21:51:55 2003] [notice] Child 732: All worker threads have exited.
[Sat Dec 13 21:51:55 2003] [notice] Child 732: Child process is exiting
[Sat Dec 13 21:51:56 2003] [notice] Parent: Child process exited successfully.

also, i'm using windows xp (in case you need to know).

for those of you that are new to php and want a jumpstart and install everything i would recommend this site.
http://www.wowwebdesigns.com/power_guid ... _intro.php
cleared up alot of things for me.
GenerikBoy
Forum Newbie
Posts: 8
Joined: Sat Dec 13, 2003 5:15 pm

Post by GenerikBoy »

oh and one more thing. when i load the apache console i dont get a message or anything. its just a blank console. :\
microthick
Forum Regular
Posts: 543
Joined: Wed Sep 24, 2003 2:15 pm
Location: Vancouver, BC

Post by microthick »

Have you tried the Apache Configuration Test?

Start > All Programs > Apache HTTP Server > Configure Apache Server > Test Configuration
GenerikBoy
Forum Newbie
Posts: 8
Joined: Sat Dec 13, 2003 5:15 pm

Post by GenerikBoy »

yup but it just opens and then closes so i'm assuming the test didnt show any errors (since apache -w would hold the console).

please somebody help.
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

Reinstall it and follow the installation notes carefully.

btw: do you have any firewalls or anti-virus programs that could block the server from being able to run?
GenerikBoy
Forum Newbie
Posts: 8
Joined: Sat Dec 13, 2003 5:15 pm

Post by GenerikBoy »

just tryed disabling the firewall and anti-v prog and it still doesnt work? ive also tryed re-installing 3 times! :( i'm not sure whats going on. the servername and documentroot is set properly in the config file (with now # in front).

the thing is, when i load the console its just blank? its supposed to show a message right?

i'm gonna rip out my hair soon!!! :evil:
GenerikBoy
Forum Newbie
Posts: 8
Joined: Sat Dec 13, 2003 5:15 pm

Post by GenerikBoy »

ok i got it working now!! omg i picked the "only for this user - port 8080" option. but i thought that doesnt matter? i thought the only difference is that you would have to load the console manually? what are the two options and whats the difference?

thanks guys for help. :)
microthick
Forum Regular
Posts: 543
Joined: Wed Sep 24, 2003 2:15 pm
Location: Vancouver, BC

Post by microthick »

GenerikBoy wrote:yup but it just opens and then closes so i'm assuming the test didnt show any errors (since apache -w would hold the console).

please somebody help.
If there are no errors, the prompt will stay up and wait for you to press ESC.

At least for my installation.
microthick
Forum Regular
Posts: 543
Joined: Wed Sep 24, 2003 2:15 pm
Location: Vancouver, BC

Post by microthick »

At least you got it working!
Post Reply