[php-maint] Bug#716659: php5-mysql: upgrade to 5.5.0+dsfg-9 breaks mediawiki

Brian Paterni bpaterni at gmail.com
Thu Jul 11 02:42:24 UTC 2013

Package: php5-mysql
Version: 5.5.0+dfsg-9
Severity: normal

Dear Maintainer,

Upgrading php5-mysql 5.5.0+dfsg-7 -> 5.5.0+dfsg-9 breaks mediawiki which is at
version 1:1.19.7+dfsg-1 The error left in apache's error.log after attempting
to access the wiki is:

  PHP Fatal error:  Call to undefined function mysql_error() in
  /usr/share/mediawiki/includes/db/DatabaseMysql.php on line 305

reportbug noted to me that some php5-mysql configuration files had been
modified. I elected to include them with the report, however, I have no memory
of ever modifying them.

-- 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/6 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

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

php5-mysql recommends no packages.

php5-mysql suggests no packages.

-- Configuration Files:
/etc/php5/mods-available/mysql.ini changed:
; configuration for php MySQL module
; priority=20

/etc/php5/mods-available/mysqli.ini changed:
; configuration for php MySQL module
; priority=20

/etc/php5/mods-available/pdo_mysql.ini changed:
; configuration for php MySQL module
; priority=20

More information about the pkg-php-maint mailing list