|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68952 pecl install PDO fails
Submitted: 2015-01-29 22:42 UTC Modified: 2015-01-29 22:47 UTC
From: huda06_89 at hotmail dot com Assigned:
Status: Not a bug Package: PECL (PECL)
PHP Version: 5.6.5 OS: SUSE Enterprise Server 10 SP 4
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: huda06_89 at hotmail dot com
New email:
PHP Version: OS:


 [2015-01-29 22:42 UTC] huda06_89 at hotmail dot com
I ran "pecl install PDO" and it failed with the following:
I got pecl with php installation.
please advise what is the issue.. this is blocking my progress.. thank you

creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/sh /tmp/pear/temp/pear-build-rooteef81z/PDO-1.0.3/libtool --mode=compile cc  -I. -I/tmp/pear/temp/PDO -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rooteef81z/PDO-1.0.3/include -I/tmp/pear/temp/pear-build-rooteef81z/PDO-1.0.3/main -I/tmp/pear/temp/PDO -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/PDO/pdo.c -o pdo.lo
mkdir .libs
 cc -I. -I/tmp/pear/temp/PDO -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rooteef81z/PDO-1.0.3/include -I/tmp/pear/temp/pear-build-rooteef81z/PDO-1.0.3/main -I/tmp/pear/temp/PDO -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/PDO/pdo.c  -fPIC -DPIC -o .libs/pdo.o
/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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-01-29 22:47 UTC]
-Status: Open +Status: Not a bug
 [2015-01-29 22:47 UTC]
PDO is now bundled with PHP -- the PECL extension should not be used anymore. For installation info, see
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Jun 22 21:01:24 2021 UTC