无法安装PDO

时间:2014-03-21 06:41:39

标签: php pdo centos6

我无法使用

在Centos 6.5上安装PDO
# pecl install PDO
WARNING: "pecl/PDO" is deprecated in favor of "channel://http://svn.php.net/viewvc/php/php-src/trunk/ext/pdo//ext/PDO"
downloading PDO-1.0.3.tar ...

<redacted>

/tmp/pear/temp/PDO/pdo.c: In function ‘php_pdo_get_exception_base’:
/tmp/pear/temp/PDO/pdo.c:78: error: too few arguments to function ‘zend_exception_get_default’
make: *** [pdo.lo] Error 1
ERROR: `make' failed

我的PHP版

# php -v
PHP 5.4.25 (cli) (built: Mar  7 2014 21:04:52) 
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies

知道如何启用PDO?

0 个答案:

没有答案