Compiling Apache web server with dynamic module support

后端 未结 4 998
夕颜
夕颜 2021-01-22 11:20

I have just compiled Apache 2.2.17 on a fresh install of Ubuntu 10.04.2. It\'s a learning exercise to discover what actually goes on when you compile something rather than just

4条回答
  •  春和景丽
    2021-01-22 12:04

    Try this

    sudo ./configure --prefix=/etc/apache --enable-so --enable-shared=max --enable-rewrite -enable-mods-shared="all ssl ldap cache proxy authn_alias mem_cache file_cache authnz_ldap charset_lite dav_lock disk_cache"
    

    Caveat: --enable-mods-shared=all does not actually build all modules.

    --enable-shared=max is invalid. I think you wanted to use "most"?

    http://httpd.apache.org/docs/2.2/programs/configure.html

提交回复
热议问题