checking for Apache 2.0 handler-module support via DSO through APXS...
Sorry, I cannot run apxs. Possible reasons follow:
1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)
The output of /usr/local/apache2/bin/apxs follows:
/usr/local/apache2/bin/httpd: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory
apxs:Error: Sorry, no shared object support for Apache.
apxs:Error: available under your platform. Make sure.
apxs:Error: the Apache module mod_so is compiled into.
apxs:Error: your server binary `/usr/local/apache2/bin/httpd'..
configure: error: Aborting
重装perl也不行
raojiayang 于 2009-03-06 12:46:55发表:
启动Apache服务,要用
# /usr/local/apache/bin/apachectl start
要开机自启动,好像是
cd /etc/init.d
ln -s /usr/local/apache/bin/apachectl httpd
若提示httpd存在,先删除httpd,再ln吧。
archylinux 于 2009-03-05 19:57:52发表:
CentOS 4.6
apache2.0是本来就有的 刚删了装httpd2.2.11
装完apache也启动不了了 提示
httpd: unrecognized service
安装的时候用的
./configure --prefix=/usr/local/apache --enable-modules=so --enable-rewrite
raojiayang 于 2009-03-05 19:35:00发表:
按提示操作吧。先装apache,后装php
若安装apache2.0时要用:
./configure --with-apxs2=/path/to/apxs --enable-so
另外,你的是linux系统是什么版本?