关于 安装linux PHP问题
我的linux 版本 Red Hat Enterprise Linux Server release 5.3
1.我用rpm包 apache 我已经成功安装 版本是 Server version: Apache/2.2.3
2. php 用的是源码安装 版本是php-5.2.14
可用 ./configure --prefix=/opt/php -with-apxs2=/usr/sbin/apxs -with-mysql=/usr/include/mysql --with-gd=/usr/ --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-zlib-dir=/usr/lib --with-freetype-dir=/usr/lib
出现如下错误
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 whether to enable Apache 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/sbin/apxs follows:
./configure: line 6461: /usr/sbin/apxs: No such file or directory
configure: error: Aborting
这是怎么回事?
高手支招