注册 登陆

安装了apache13-modssl再裝mod_php4 的问题

安装了apache13-modssl再裝mod_php4 后apache可正常啟動

但裝mod_php4就出現這問題



Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking for member fd in BUFF *... no
checking for mod_charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS... apxs:Error: Invalid query string `BINDIR'
apxs:Error: Invalid query string `MPM_NAME'
apxs:Error: Invalid query string `APU_BINDIR'
apxs:Error: Invalid query string `APR_BINDIR'
./configure: /apu-config: not found
./configure: /apr-config: not found
configure: error: You have enabled Apache 2 support while your server is Apache 1.3. Please use the appropiate switch --with-apxs (without the 2)
===> Script "configure" failed unexpectedly.
Please report the problem to ale@FreeBSD.org [maintainer] and attach the
"/usr/ports/www/mod_php4/work/php-4.3.9/config.log" including the output of
the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/www/mod_php4.

 

 

解决办法:原因是在安装时选择了

[x ] APACHE2 Use apache 2.x instead of apache 1.3.x

重新进入到 /usr/ports/www/mod_php4
make config 
把APACHE2 Use apache 2.x instead of apache 1.3.x的勾去掉

重新make install就可以了

尽管是小问题,也有不少人遇到的

« 上一篇 | 下一篇 »

Trackbacks

点击获得Trackback地址,Encode: UTF-8 点击获得Trackback地址,Encode: GB2312 or GBK 点击获得Trackback地址,Encode: BIG5

发表评论

评论内容 (必填):