Apache加装模块
[ 2005/03/08 23:13 | by ipaddr ]
Apache安装好后,有时需要加一些模块的.
可以不重新编译整个Apache,而单独编译一个模块,方法如下:
/usr/local/apache2/bin/apxs -c -i /usr/local/src/httpd-2.0.52/modules/generators/mod_cgi.c
再修改/usr/local/apache2/conf/httpd.conf
LoadModule cgi_module modules/mod_cgi.so
再重启一下Apache
/usr/local/apache2/bin/apachectl restart
>>>>>>>>>>>>>>
可以不重新编译整个Apache,而单独编译一个模块,方法如下:
/usr/local/apache2/bin/apxs -c -i /usr/local/src/httpd-2.0.52/modules/generators/mod_cgi.c
再修改/usr/local/apache2/conf/httpd.conf
LoadModule cgi_module modules/mod_cgi.so
再重启一下Apache
/usr/local/apache2/bin/apachectl restart
>>>>>>>>>>>>>>