Monday, March 12, 2012

Compiling Apache for a better performance

Here is configure script that I used for my Production environment:

./configure --prefix=/data/apache \
--enable-so \
--enable-lua \
--enable-headers \
--enable-unique-id \
--enable-ssl \
--enable-vhost-alias \
--enable-file-cache \
--enable-cache \
--enable-disk-cache \
--enable-mem-cache \
--enable-expires \
--enable-rewrite \
--disable-cgi \
--disable-version \
--disable-userdir \
--with-mpm=worker \
--enable-nonportable-atomics=yes \
--enable-deflate \
--with-included-apr

No comments: