Click to See Complete Forum and Search --> : apache starting or is it??


ptbsg_man
04-03-2003, 03:06 PM
Hello im new to apache on unix , now thats out of the way.

i have installed apache and php using the ports with these commands.

cd /usr/ports/www/apache2
make install clean
cd ../mod_php4
make WITH_APACHE2=true
Select your favorite options
make WITH_APACHE2=true install clean

now when i run
"apachectl -t"
i get syntax Ok so i type
"apachectl start"
and i dont get any messages so i am to assume that it has started, but when i try going to http://127.0.0.1 i get a

An error occured while loading http://127.0.0.1:

error and when i try to stop the server i get

httpd (no pid file) not running

Please help me i need to get this running

Thank you
Don Gordon

Rune
04-03-2003, 11:15 PM
Think you might be missing a piece:

apachectl -k start



... not positive but give it a try

ptbsg_man
04-04-2003, 11:05 AM
nope tried that also but thats the windows version startup command

Rune
04-04-2003, 11:13 AM
Oh, whoops. I'm a Windows h0r (don't know anything else atm)so I guess I'm not the right guy to help ya. Sorry. :)