安装pdo_mysql 在这一步/usr/local/php/bin/phpize出现这样警告
config.m4:179: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
aclocal.m4:2741: PHP_CHECK_PDO_INCLUDES is expanded from...
config.m4:179: the top level
config.m4:179: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
aclocal.m4:2741: PHP_CHECK_PDO_INCLUDES is expanded from...
config.m4:179: the top level
解决:
#把之前的autoconf 找出来
find / -name autoconf
删除
rm -rf
重新安装一个低版本,比如我这里是装的2.61
# 安装autoconf
cd /lamp/autoconf-2.61
./configure
make
make install
本文详细介绍了在安装PHP PDO_mysql扩展时遇到的autoconf警告问题,并提供了解决方案,包括找到并删除旧版autoconf、重新安装较低版本的autoconf(如2.61),然后执行相关配置命令。最终指导用户如何成功解决警告并继续安装PHP扩展。
11万+

被折叠的 条评论
为什么被折叠?



