用worker mpm方式编译apache2.2.8不生效
日前,在编译apache2.2.8的时候,用了下面的参数
./configure --prefix=/usr/local/apache2 --enable-mods-shared=all --with-mysql=/usr/local/mysql --enable-cache --enable-file-cache --enable-mem-cache --enable-disk-cache --enable-static-support --enable-static-htpasswd --enable-static-htdigest --enable-static-rotatelogs --enable-static-logresolve --enable-static-htdbm --enable-static-ab --enable-static-checkgid --disable-cgid --disable-cgi --with-apr=/usr/local/apr/ --with-apr-util=/usr/local/apr-util/ --enable-ssl --with-ssl=/usr/include/openssl --enable-threads --with-mpm=worker --with-pcre
make && make install
虽然,编译成功了。但是用
httpd -l
还是显示
Compiled in modules:
core.c
prefork.c
http_core.c
mod_so.c
也就是说,还是prefork模式生效了。不晓得哪里出问题了。请各位大虾执教 :)