日期:2014-05-17  浏览次数:20446 次

安装pdo_oci在这一步/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

这种警告导致程序不能运行pdo_oci函数,求救

------解决方案--------------------
未知。。。
------解决方案--------------------
你那个httpd.conf文件中.pdo也要打开,然后再试试
------解决方案--------------------
复制粘贴...应该差不多了.
没装过oci.

autoconf版本太高造成的,我的办法是安装autoconf 2.13
redhat类系统运行如下命令
yum install autoconf213.noarch 
export PHP_AUTOCONF=/usr/bin/autoconf-2.13 
export PHP_AUTOHEADER=/usr/bin/autoheader-2.13
64位环境下
configure: error: libjpeg.(a|so) not found.
或者 configure: error: *.(a|so) not found.
这些库已经安装了但还报错
在configure 时加参数 –with-libdir=lib64