LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1464|回复: 5

我的apache是1.x.x,在装php时那个apxs没有怎么办?

[复制链接]
发表于 2007-1-12 15:35:39 | 显示全部楼层 |阅读模式
如题,我装的是apache是1.x.x的,当我要编译安装php时,运行
./configure --prefix=/opt/php --with-mysql=/opt/mysql --with-apxs2=/opt/apache/bin/apxs --enable-track-vars --enable-force-cgi-redirect --with-config-file-path=/opt/php/etc
它提示说没找到apxs,这怎么办,我要重装一个apche2.x.x的吗?有没有其它的办法把php装好啊?
请指点,谢谢!
系统提示信息如下:


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 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...

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/apache/bin/apxs follows:
apxs:Error: Sorry, no DSO support for Apache available
apxs:Error: under your platform. Make sure the Apache
apxs:Error: module mod_so is compiled into your server
apxs:Error: binary `/usr/local/apache/bin/httpd'.
configure: error: Aborting
发表于 2007-1-12 16:13:21 | 显示全部楼层
你安装一下apache的原码包就可以了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-1-12 16:31:56 | 显示全部楼层
我是安装的源码包哦
真是的源码包,它的版本太低了吧
是1.3.36的
我是用configure make make install 这种方式来装的,我认为这种方式是装的源码包吧
回复 支持 反对

使用道具 举报

发表于 2007-1-12 17:16:59 | 显示全部楼层
--with-apxs2=/opt/apache/bin/apxs
改成 --with-apx=/opt/apache/bin/apxs
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-1-15 09:58:54 | 显示全部楼层
谢谢,但我是改了还是不行啊? 仍然是那种错误
而且我在/opt/apache/bin这个目录里也发现了aspx这个文件,请问这到底是怎么会事啊?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-1-16 10:53:38 | 显示全部楼层
有人能给俺说说吗?
谢谢了!!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表