Description of compilation parameters of apache (Baidu)
Description of apache compilation installation parameters
. / configure / / configure the source code tree
-- prefix, the top-level installation directory for prefix=/usr/local/apache2 / / system-independent files, that is, the installation directory for apache. If PREFIX is not specified, / usr/local/apache2 is installed by default.
-- enable-module=so / / Open the so module. The so module is the apache core module used to support dso.
-- enable-deflate=shared / / supports web page compression
-- enable-expires=shared / / supports http control
-- enable-rewrite=shared / / supports url rewriting
-- enable-cache / / supports caching
-- enable-file-cache / / supports file caching
-enable-mem-cache / / supports memory caching
-- enable-disk-cache / / supports disk caching
-- enable-static-support / / supports static connections (default is dynamic connections)
-- enable-static-htpasswd / / compile htpasswd using static connections-manage user files for basic authentication
-- enable-static-htdigest / / compile htdigest using static connections-manage user files for summary authentication
-- enable-static-rotatelogs / / compile rotatelogs with static connection-pipe log program that scrolls the apache log
-- enable-static-logresolve / / compile logresolve with static connection-parse ip address hostname in apache log
-- enable-static-htdbm / / compiling htdbm with static connection-manipulating dbm password database
-- enable-static-ab / / compiling ab-apache http server performance testing tools using static connections
-- enable-static-checkgid / / compiling checkgid using static connections
-- disable-cgid / / disables the execution of cgi scripts with an external cgi daemon
-- disable-cgi / / prohibits compilation of cgi version of php
-- disable-userdir / / forbids users from providing pages from their home directory
-- with-mpm=worker / / Let apache run in worker mode
-- enable-authn-dbm=shared / / A pair of dynamic databases are operated. Required for rewrite.
/ usr/local/apache/bin/apachectl-m =-t-d dump_modules which modules are installed
/ usr/local/apache/bin/apachectl-t test whether the installation is successful
/ usr/local/apache/bin/apachectl-k start | restart | stop to check the details