LinuxSir.cn,穿越时空的Linuxsir!

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

请问RH9用RPM安装的apache和php,如果要用源代码升级php的话,必须把apache也卸载了吗?

[复制链接]
发表于 2004-6-29 10:41:28 | 显示全部楼层 |阅读模式
我用rpm -e 删除了所有带有php字样的rpm包,但配置php437的时候--with-apxs2 这个参数过不去,我试过指向: /usr/sbin/apxs、、/etc/httpd/modules、/usr/lib/httpd/modules都不行。提示:
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 /etc/httpd/apxs follows:
./configure: line 5080: /etc/httpd/apxs: No such file or directory
或者:
The output of /usr/lib/httpd/modules follows:
./configure: line 5080: /usr/lib/httpd/modules: is a directory
configure: error: Aborting

我的perl是存在的。
难道必须把apache也重新编译了吗?
 楼主| 发表于 2004-6-29 15:56:31 | 显示全部楼层
找到APXS了,(我没有装httpd-devel,呵呵)
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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