添加php的pdo_mysql模块出错
当编译添加pdo_mysql的php模块时,phpize出现如下警告:
[code][root@web pdo_mysql]# /usr/local/php5.3.6/bin/phpize
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
config.m4:138: 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:2747: PHP_CHECK_PDO_INCLUDES is expanded from...
config.m4:138: the top level
config.m4:138: 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:2747: PHP_CHECK_PDO_INCLUDES is expanded from...
config.m4:138: the top level[/code]
没有找到相关结果
已邀请:
1 个回复
chris - 喜欢自由散漫的我
解决方法:安装autoconf 2.13
然后再phpize就好了。
64位环境如下等错误:
或者
这些库已经安装了但还报错
在configure 时加参数 --with-libdir=lib64即可。