On Wed, Nov 14, 2001 at 12:57:54PM +0800, Rafael 'Dido' Sevilla wrote:
> 
> On Wed, Nov 14, 2001 at 11:28:22AM +0800, Jesse.linux wrote:
> > > jesse:)
> > > 
> > > did u install first openssl ? (www.openssl.org)
> > > 
> > 
> > yups....and downloaded the patch....and applied it .....
> 
> What patch?  OpenSSL is a library!

There's a patch, too.  This is a very confusing thing to a lot of
people, so I wrote a script that builds Apache for me.  It could be
better, as it doesn't check for errors at each step.

Anyway, you need the following packages:

OpenSSL - www.openssl.org
mod_ssl - www.modssl.org (make sure your version matches the Apache version)
Apache - www.apache.org
PHP? - www.php.net

Here are the build steps:

1. untar everything

2. cd into the Apache directory, and do 
        ./configure --prefix=/usr/local/apache
with the correct prefix for your install

3. cd into the mod_ssl directory, and do
        ./configure --with-apache=/usr/src/apache_1.3.22
with the correct path for the Apache build directory

4. If you want to build PHP, now's the time.  cd to the PHP directory
and do this:
        ./configure --with-apache=/usr/src/apache_1.3.22 --with-mysql=/usr
        make clean all install

5. Now, cd back into the Apache build directory, and do your final
stuff:
        ./configure --prefix=/usr/local/apache --enable-module=ssl
        --activate-module=src/modules/php4/libphp4.a --enable-module=php4
        make
        make install-programs

Note that the first time you build Apache, you want to do "make install"
as the last step so that it will build the Apache directory tree for
you.  After that, you want to save time and just do "make
install-programs" to move the new httpd over.

There you have it.

Michael
-- 
Michael Darrin Chaney
[EMAIL PROTECTED]
http://www.michaelchaney.com/
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to