2006年09月14日 星期四

在已安装apache的osx 10.4上通过apxs编译安装mod_perl

root# perl Makefile.PL \
USE_APXS=1 \
WITH_APXS=/usr/local/apache1.3/sbin/apxs \
EVERYTHING=1

make / make install

然后检查httpd.conf配置
apachectl configtest
输出 Syntax OK
apachectl graceful restart

具体可参考 http://perl.apache.org/docs/1.0/guide/install.html#toc_Build_mod_perl_as_a_DSO_outside_the_Apache_Source_Tree_via_APXS

如果是新安装apache,并需要mod_perl模块的,可以参考http://www.macdevcenter.com/pub/a/mac/2002/11/05/apache_osx.html?page=1

[technorati relative tag]

[相关内容]

由 tristones 发表于 2006年09月14日 上午01時34分

留言