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

由 冰箱 在 06-29-2004 10:41 发表:

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

我用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也重新编译了吗?

<font face="腩戾,verdana, arial, hel

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus