KfWiki : ApacheSourceInstall

HomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register

Revision [1963]

Most recent edit made on 2008-09-22 09:13:52 by WikiAdmin

Additions:
--with-mpm=worker : you need php compiled with thread safety (--enable-experimental-zts)


Deletions:
-with-mpm=worker




Revision [1962]

Edited on 2008-09-22 08:44:06 by WikiAdmin

Additions:
# Optional
-with-mpm=worker




Revision [1949]

Edited on 2008-09-16 20:42:06 by WikiAdmin

Additions:
--enable-cache --enable-disk-cache --enable-mem-cache

Apache 2.0 compile

./configure --prefix=/opt/apache2 --enable-mods-shared=all \
--enable-ssl --enable-rewrite --enable-proxy --enable-deflate \
--enable-cache --enable-disk-cache --enable-file-cache --enable-mem-cache \
--enable-suexec


Deletions:
--enable-cache --enable-disk-cache --enable-mem-cache \
--enable-layout=RedHat




Revision [1872]

Edited on 2008-08-05 07:35:15 by WikiAdmin

Additions:
Install from FreeBSD ports
cd /usr/ports/www/apache22/
make config install distclean
echo 'apache2_enable="YES"'
/etc/rc.conf
echo 'apache2ssl_enable="YES"'
/etc/rc.conf
echo 'accf_http_ready="YES"'
/etc/rc.conf && kldload accf_http




Revision [1762]

Edited on 2008-06-12 00:53:36 by WikiAdmin

Additions:
--enable-module=so \
--enable-shared=max \
--enable-module=ssl


Deletions:
--enable-module=so \
--enable-shared=proxy \
--enable-shared=ssl




Revision [1761]

Edited on 2008-06-10 01:23:52 by WikiAdmin

Additions:
--enable-module=proxy
or
--with-apache=../apache_1.3.x \
--expert --with-ssl=/usr
or
env CFLAGS="-Wall -DHARD_SERVER_LIMIT=1024" ./configure \
--enable-module=so \
--enable-shared=proxy \
--enable-shared=ssl


Deletions:
--enable-module=proxy \




Revision [1675]

Edited on 2008-04-17 20:09:01 by WikiAdmin

Additions:
./configure --prefix=/usr/local/apache2 --enable-mods-shared=all \
--enable-ssl --enable-rewrite --enable-proxy --enable-proxy-ajp \
--enable-cache --enable-disk-cache --enable-mem-cache \
--enable-layout=RedHat


Deletions:
./configure --prefix=/usr/local/apache2 --enable-mods-shared=all --enable-ssl --enable-rewrite --enable-proxy --enable-proxy-ajp --enable-layout=RedHat




Revision [1571]

Edited on 2008-03-27 07:35:14 by WikiAdmin

Additions:
./configure --prefix=/usr/local/apache2 --enable-mods-shared=all --enable-ssl --enable-rewrite --enable-proxy --enable-proxy-ajp --enable-layout=RedHat


Deletions:
./configure --prefix=/usr/local/apache2 --enable-mods-shared=all --enable-ssl --enable-rewrite --enable-proxy --enable-layout=RedHat




Revision [1518]

Edited on 2008-03-19 07:56:13 by WikiAdmin

Additions:
./configure --prefix=/usr/local/apache2 --enable-mods-shared=all --enable-ssl --enable-rewrite --enable-proxy --enable-layout=RedHat


Deletions:
./configure --prefix=/usr/local/apache2 --with-included-apr --enable-mods-shared=all --enable-ssl --enable-rewrite --enable-proxy --enable-layout=RedHat




Revision [1517]

Edited on 2008-03-19 07:45:17 by WikiAdmin

Additions:
./configure --prefix=/usr/local/apache2 --with-included-apr --enable-mods-shared=all --enable-ssl --enable-rewrite --enable-proxy --enable-layout=RedHat
--enable-layout=xxx : check config.layout for detail


Deletions:
./configure --prefix=/usr/local/apache2 --with-included-apr --enable-mods-shared=all --enable-ssl --enable-rewrite --enable-proxy --enable-layout=Redhat
--layout : check config.layout for detail




Revision [1516]

Edited on 2008-03-19 07:44:34 by WikiAdmin

Additions:
./configure --prefix=/usr/local/apache2 --with-included-apr --enable-mods-shared=all --enable-ssl --enable-rewrite --enable-proxy --enable-layout=Redhat


Deletions:
./configure --prefix=/usr/local/apache2 --with-included-apr --enable-mods-shared=all --enable-ssl --enable-rewrite --enable-proxy --layout=Redhat




Revision [1515]

Edited on 2008-03-19 07:43:06 by WikiAdmin

Additions:
./configure --prefix=/usr/local/apache2 --with-included-apr --enable-mods-shared=all --enable-ssl --enable-rewrite --enable-proxy --layout=Redhat
Useful configure options
--layout : check config.layout for detail
http://httpd.apache.org/docs/2.2/programs/configure.html


Deletions:
./configure --prefix=/usr/local/apache2 --enable-mods-shared=all --enable-ssl --enable-rewrite --enable-proxy




Revision [1511]

Edited on 2008-03-18 19:42:56 by WikiAdmin

Deletions:
./config.status




Revision [1510]

Edited on 2008-03-18 19:22:00 by WikiAdmin

Additions:
./configure --enable-module=so --enable-module=proxy
./configure \
--with-apache=../$apache_ver \
--with-ssl=../$ssl_ver \
--with-mm=../$mm_ver \
--prefix=/usr/local/apache \
--enable-shared=ssl \
--enable-module=proxy \


Deletions:
./configure
./configure --with-apache=../apache_1.3.14




Revision [1509]

The oldest known version of this page was edited on 2008-03-18 19:18:00 by WikiAdmin
HomePage » WebServer » Apache » ApacheSourceInstall


Compiling and installing apache from source.

Apache2.2.4 quick compile

./configure --prefix=/usr/local/apache2 --enable-mods-shared=all --enable-ssl --enable-rewrite --enable-proxy


Apache 1.3.x compile

You will be needing the following packages:

apache_1.3.14.tar.gz http://www.apache.org
openssl-0.9.6.tar.gz http://www.openssl.org
mod_ssl-2.7.1-1.3.14.tar.gz http://www.modssl.org
mm-1.1.3.tar.gz http://www.engelschall.com/sw/mm

Installing the prerequisites
openssl
sh config -fPIC
make -j2 
make install


mm
./configure --disable-shared
make
make install


Apache and mod_ssl
Apache
./configure


mod_ssl
./configure --with-apache=../apache_1.3.14


Back to Apache
./config.status
make -j2
make certificate
make install


Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.3330 seconds