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