--- Jason Newman <[EMAIL PROTECTED]> wrote:
> If anyone can help me with installing Apache that would be great. I
> am
> trying to install Apache with PHP and the instrustions I got are as
> follows.
>
> tar -xvzf httpd-2.0.47.tar.gz
> cd httpd_2.0.47
> ./configure --prefix=/www --enable-so
> make
> make install
>
> And then it says to test the apache by typing "/www/bin/apachectl
> start" but
> there is no /www directory? I have searched for the apachectl and
> found it
> in the /root/snortinstall/httpd_2.0.47/support directory
the [ --prefix= ] option is to let the configure stuff know what base
directory to install too. binaries would go into /www/bin libraries
/www/lib and so on. if you have done the make install as usr root
it should of made the dir /www. { a good place to put apache would
be --prefix=/usr/httpd and set up your ld.so.conf as root with
echo "/usr/httpd/lib" >> /etc/ld.so.conf
, but thats just me :) Don't forget to install php and edit the
httpd.conf }
and ya ... there is a whole lot of stuff you should think about before
installing apache ie. do you want threaded or process forking.
but in the end if you have a distro linux all you need to do is just
install the pre-built junk rpm's.
=====
Ted Katseres
------------------------------------------------
------ C , C++, Java or Cobol -------
------ Linux doesn't care -------------
------------------------------------------------
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com