如果要编写定制的Apache模块,最终需要编译成Apache包。
命令如下:
% ./buildconf
% ./configure --prefix=/usr/local/apache
> --with-layout=Apache --enable-modules=most --enable-mods-shared=all \
> --with-mpm=prefork
% make
#make install
更多的./configure 选项,输入下列命令:
./configure --help