phpize报Cannot find autoconf. Please check your autoconf installation and the $PH
程序员文章站
2022-06-16 14:08:02
...
# /usr/java/php5/bin/phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20050922
Zend Extension Api No: 220051025
Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF
environment variable is set correctly and then rerun this script.
# rpm -qa|grep m4
m4-1.4.13-5.el6.x86_64
# rpm -qa|grep autoconf
autoconf-2.63-5.1.el6.noarch
m4和autoconf 已经安装完成。
phpinfo(); PHP_AUTOCONF /usr/bin/autoconf
为什么还是报找不到autoconf?
这个已经安装了,难道要先卸载 再安装吗
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20050922
Zend Extension Api No: 220051025
Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF
environment variable is set correctly and then rerun this script.
# rpm -qa|grep m4
m4-1.4.13-5.el6.x86_64
# rpm -qa|grep autoconf
autoconf-2.63-5.1.el6.noarch
m4和autoconf 已经安装完成。
phpinfo(); PHP_AUTOCONF /usr/bin/autoconf
为什么还是报找不到autoconf?
回复讨论(解决方案)
yum install gcc gcc-c++
yum install gcc gcc-c++
这个已经安装了,难道要先卸载 再安装吗
出现你这种情况的多了去了
到这里 http://www.baidu.com/s?wd=%24PHP_AUTOCONF&ie=utf-8 去对号入座吧