Debian Bug report logs - #716991
PDO missing: PHP Fatal error: Class 'PDO' not found

version graph

Package: php5-common; Maintainer for php5-common is (unknown);

Reported by: Jaime Silva <jaimealbertosilva@gmail.com>

Date: Mon, 15 Jul 2013 17:15:01 UTC

Severity: normal

Tags: upstream

Merged with 716893, 716906, 716968, 716997

Found in version php5/5.5.0+dfsg-11

Fixed in version php5/5.5.0+dfsg-12

Done: Ondřej Surý <ondrej@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#716991; Package php5-common. (Mon, 15 Jul 2013 17:15:06 GMT) (full text, mbox, link).


Acknowledgement sent to Jaime Silva <jaimealbertosilva@gmail.com>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Mon, 15 Jul 2013 17:15:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Jaime Silva <jaimealbertosilva@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: PDO missing: PHP Fatal error: Class 'PDO' not found
Date: Mon, 15 Jul 2013 12:10:44 -0500
[Message part 1 (text/plain, inline)]
Package: php5-common
Version: 5.5.0+dfsg-11
Severity: grave
Justification: renders package unusable

Dear Maintainer,

Today, after updating my system I found that mysql on PHP no longer
works because all PDO related definitions are missing

When I try to run PHP CLI I get the error:

$ php -q
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/lib/php5/20121212/pdo_mysql.so' -
/usr/lib/php5/20121212/pdo_mysql.so: undefined symbol: pdo_parse_params in
Unknown on line 0

And nginx reports the following error with php5-fpm:

2013/07/15 11:54:39 [error] 2857#0: *98 FastCGI sent in stderr: "PHP
message: PHP Fatal error:  Class 'PDO' not found in
/home/jaime/public_html/gluky/includes/database/database.inc on line 184"
while reading response header from upstream, client: ::1, server:
localhost, request: "GET /work1 HTTP/1.1", upstream:
"fastcgi://unix:/var/run/php5-fpm.sock:", host: "localhost"

I'm currently using php5-fpm with Nginx and php5-cli to run drush for
development on the Drupal platform.

-- Package-specific info:
==== Additional PHP 5 information ====

++++ PHP 5 SAPI (php5query -S): ++++
cli
fpm

++++ PHP 5 Extensions (php5query -M -v): ++++
No module matches mysqli
No module matches mysqli
pdo_mysql (Enabled for cli by maintainer script)
pdo_mysql (Enabled for fpm by maintainer script)
pdo (Enabled for cli by maintainer script)
pdo (Enabled for fpm by maintainer script)
gd (Enabled for cli by maintainer script)
gd (Enabled for fpm by maintainer script)
curl (Enabled for cli by maintainer script)
curl (Enabled for fpm by maintainer script)
opcache (Enabled for cli by maintainer script)
opcache (Enabled for fpm by maintainer script)
json (Enabled for cli by maintainer script)
json (Enabled for fpm by maintainer script)
mysql (Enabled for cli by maintainer script)
mysql (Enabled for fpm by maintainer script)

++++ Configuration files: ++++
**** /etc/php5/mods-available/mysql.ini ****
extension=mysql.so

**** /etc/php5/mods-available/mysqli.ini ****

**** /etc/php5/mods-available/pdo_mysql.ini ****
extension=pdo_mysql.so


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.9-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages php5-mysql depends on:
ii  dpkg                        1.16.10
ii  libc6                       2.17-7
ii  libmysqlclient18            5.5.31+dfsg-1
ii  php5-cli [phpapi-20121212]  5.5.0+dfsg-11
ii  php5-common                 5.5.0+dfsg-11
ii  php5-fpm [phpapi-20121212]  5.5.0+dfsg-11
ii  ucf                         3.0027+nmu1
ii  zlib1g                      1:1.2.8.dfsg-1

php5-mysql recommends no packages.

php5-mysql suggests no packages.

Versions of packages php5-common depends on:
ii  libc6   2.17-7
ii  lsof    4.86+dfsg-1
ii  psmisc  22.20-1
ii  sed     4.2.2-1
ii  ucf     3.0027+nmu1

Versions of packages php5-common recommends:
ii  php5-json  1.3.1+dfsg-1

Versions of packages php5-common suggests:
pn  php5-user-cache  <none>

Versions of packages php5-cli depends on:
ii  libbz2-1.0        1.0.6-4
ii  libc6             2.17-7
ii  libcomerr2        1.42.8-1
ii  libdb5.1          5.1.29-6
ii  libedit2          2.11-20080614-6
ii  libgssapi-krb5-2  1.10.1+dfsg-6.1
ii  libk5crypto3      1.10.1+dfsg-6.1
ii  libkrb5-3         1.10.1+dfsg-6.1
ii  libmagic1         1:5.14-2
ii  libonig2          5.9.1-1
ii  libpcre3          1:8.31-2
ii  libqdbm14         1.8.78-2
ii  libssl1.0.0       1.0.1e-3
ii  libxml2           2.9.1+dfsg1-2
ii  mime-support      3.54
ii  php5-common       5.5.0+dfsg-11
ii  tzdata            2013c-2
ii  ucf               3.0027+nmu1
ii  zlib1g            1:1.2.8.dfsg-1

Versions of packages php5-cli suggests:
ii  php-pear  5.5.0+dfsg-11

Versions of packages php5-fpm depends on:
ii  dpkg                1.16.10
ii  libbz2-1.0          1.0.6-4
ii  libc6               2.17-7
ii  libcomerr2          1.42.8-1
ii  libdb5.1            5.1.29-6
ii  libgssapi-krb5-2    1.10.1+dfsg-6.1
ii  libk5crypto3        1.10.1+dfsg-6.1
ii  libkrb5-3           1.10.1+dfsg-6.1
ii  libmagic1           1:5.14-2
ii  libonig2            5.9.1-1
ii  libpcre3            1:8.31-2
ii  libqdbm14           1.8.78-2
ii  libssl1.0.0         1.0.1e-3
ii  libsystemd-daemon0  44-12
ii  libxml2             2.9.1+dfsg1-2
ii  mime-support        3.54
ii  php5-common         5.5.0+dfsg-11
ii  sysv-rc             2.88dsf-42
ii  tzdata              2013c-2
ii  ucf                 3.0027+nmu1
ii  zlib1g              1:1.2.8.dfsg-1

Versions of packages php5-fpm suggests:
ii  php-pear  5.5.0+dfsg-11

-- no debconf information


Jaime Alberto Silva Colorado
<http://www.sgautomatizacion.com>http://jaimealsilva.com
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#716991; Package php5-common. (Mon, 15 Jul 2013 17:21:04 GMT) (full text, mbox, link).


Acknowledgement sent to Jaime Silva <jaimealbertosilva@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Mon, 15 Jul 2013 17:21:04 GMT) (full text, mbox, link).


Message #10 received at 716991@bugs.debian.org (full text, mbox, reply):

From: Jaime Silva <jaimealbertosilva@gmail.com>
To: 716991@bugs.debian.org
Subject: Re: Bug#716991: Acknowledgement (PDO missing: PHP Fatal error: Class 'PDO' not found)
Date: Mon, 15 Jul 2013 12:18:56 -0500
[Message part 1 (text/plain, inline)]
Sorry, the package information sent was for php5-mysql cause I was going to
file the bug for that package then I found that the problem is PDO missing
in common.

Here is the info for php5-common generated by reportbug:

-- Package-specific info:
==== Additional PHP 5 information ====

++++ PHP 5 SAPI (php5query -S): ++++
cli
fpm

++++ PHP 5 Extensions (php5query -M -v): ++++
No module matches mysqli
No module matches mysqli
pdo_mysql (Enabled for cli by maintainer script)
pdo_mysql (Enabled for fpm by maintainer script)
pdo (Enabled for cli by maintainer script)
pdo (Enabled for fpm by maintainer script)
gd (Enabled for cli by maintainer script)
gd (Enabled for fpm by maintainer script)
curl (Enabled for cli by maintainer script)
curl (Enabled for fpm by maintainer script)
opcache (Enabled for cli by maintainer script)
opcache (Enabled for fpm by maintainer script)
json (Enabled for cli by maintainer script)
json (Enabled for fpm by maintainer script)
mysql (Enabled for cli by maintainer script)
mysql (Enabled for fpm by maintainer script)

++++ Configuration files: ++++
**** /etc/php5/mods-available/pdo.ini ****
extension=pdo.so

**** /etc/php5/mods-available/opcache.ini ****
zend_extension=opcache.so


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.9-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages php5-common depends on:
ii  libc6   2.17-7
ii  lsof    4.86+dfsg-1
ii  psmisc  22.20-1
ii  sed     4.2.2-1
ii  ucf     3.0027+nmu1

Versions of packages php5-common recommends:
ii  php5-json  1.3.1+dfsg-1

Versions of packages php5-common suggests:
pn  php5-user-cache  <none>

Versions of packages php5-cli depends on:
ii  libbz2-1.0        1.0.6-4
ii  libc6             2.17-7
ii  libcomerr2        1.42.8-1
ii  libdb5.1          5.1.29-6
ii  libedit2          2.11-20080614-6
ii  libgssapi-krb5-2  1.10.1+dfsg-6.1
ii  libk5crypto3      1.10.1+dfsg-6.1
ii  libkrb5-3         1.10.1+dfsg-6.1
ii  libmagic1         1:5.14-2
ii  libonig2          5.9.1-1
ii  libpcre3          1:8.31-2
ii  libqdbm14         1.8.78-2
ii  libssl1.0.0       1.0.1e-3
ii  libxml2           2.9.1+dfsg1-2
ii  mime-support      3.54
ii  tzdata            2013c-2
ii  ucf               3.0027+nmu1
ii  zlib1g            1:1.2.8.dfsg-1

Versions of packages php5-cli suggests:
ii  php-pear  5.5.0+dfsg-11

Versions of packages php5-fpm depends on:
ii  dpkg                1.16.10
ii  libbz2-1.0          1.0.6-4
ii  libc6               2.17-7
ii  libcomerr2          1.42.8-1
ii  libdb5.1            5.1.29-6
ii  libgssapi-krb5-2    1.10.1+dfsg-6.1
ii  libk5crypto3        1.10.1+dfsg-6.1
ii  libkrb5-3           1.10.1+dfsg-6.1
ii  libmagic1           1:5.14-2
ii  libonig2            5.9.1-1
ii  libpcre3            1:8.31-2
ii  libqdbm14           1.8.78-2
ii  libssl1.0.0         1.0.1e-3
ii  libsystemd-daemon0  44-12
ii  libxml2             2.9.1+dfsg1-2
ii  mime-support        3.54
ii  sysv-rc             2.88dsf-42
ii  tzdata              2013c-2
ii  ucf                 3.0027+nmu1
ii  zlib1g              1:1.2.8.dfsg-1

Versions of packages php5-fpm suggests:
ii  php-pear  5.5.0+dfsg-11

-- no debconf information


Jaime Alberto Silva Colorado
<http://www.sgautomatizacion.com>http://jaimealsilva.com



On Mon, Jul 15, 2013 at 12:15 PM, Debian Bug Tracking System <
owner@bugs.debian.org> wrote:

> Thank you for filing a new Bug report with Debian.
>
> This is an automatically generated reply to let you know your message
> has been received.
>
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.
>
> Your message has been sent to the package maintainer(s):
>  Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>
>
> If you wish to submit further information on this problem, please
> send it to 716991@bugs.debian.org.
>
> Please do not send mail to owner@bugs.debian.org unless you wish
> to report a problem with the Bug-tracking system.
>
> --
> 716991: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=716991
> Debian Bug Tracking System
> Contact owner@bugs.debian.org with problems
>
[Message part 2 (text/html, inline)]

Severity set to 'normal' from 'grave' Request was from Ondřej Surý <ondrej@debian.org> to control@bugs.debian.org. (Mon, 15 Jul 2013 18:54:09 GMT) (full text, mbox, link).


Marked Bug as done Request was from Ondřej Surý <ondrej@debian.org> to control@bugs.debian.org. (Mon, 15 Jul 2013 18:54:09 GMT) (full text, mbox, link).


Notification sent to Jaime Silva <jaimealbertosilva@gmail.com>:
Bug acknowledged by developer. (Mon, 15 Jul 2013 18:54:11 GMT) (full text, mbox, link).


Marked as fixed in versions php5/5.5.0+dfsg-12. Request was from Ondřej Surý <ondrej@debian.org> to control@bugs.debian.org. (Mon, 15 Jul 2013 18:54:11 GMT) (full text, mbox, link).


Merged 716893 716906 716968 716991 Request was from Ondřej Surý <ondrej@debian.org> to control@bugs.debian.org. (Mon, 15 Jul 2013 18:54:14 GMT) (full text, mbox, link).


Added tag(s) upstream. Request was from Ondřej Surý <ondrej@debian.org> to control@bugs.debian.org. (Mon, 15 Jul 2013 20:06:14 GMT) (full text, mbox, link).


Merged 716893 716906 716968 716991 716997 Request was from Ondřej Surý <ondrej@debian.org> to control@bugs.debian.org. (Mon, 15 Jul 2013 20:06:18 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#716991; Package php5-common. (Mon, 15 Jul 2013 21:09:04 GMT) (full text, mbox, link).


Acknowledgement sent to Jaime Silva <jsilva@gluky.co>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Mon, 15 Jul 2013 21:09:04 GMT) (full text, mbox, link).


Message #29 received at 716991@bugs.debian.org (full text, mbox, reply):

From: Jaime Silva <jsilva@gluky.co>
To: 716991@bugs.debian.org
Subject: Fixed. Thanks a lot.
Date: Mon, 15 Jul 2013 16:05:03 -0500
[Message part 1 (text/plain, inline)]
Just upgraded to php5/5.5.0+dfsg-12 and is working.

Thanks a lot Ondřej.
[Message part 2 (text/html, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 16 Aug 2013 07:25:58 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 03:18:52 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.