php5-mysqlnd on debian wheezy/sid?

Posted by Joseph on Server Fault See other posts from Server Fault or by Joseph
Published on 2012-04-27T02:07:41Z Indexed on 2012/09/20 9:41 UTC
Read the original article Hit count: 423

Filed under:
|
|

I am trying to install php5-mysqlnd on a fresh install of Wheezy (/etc/debian_version refers to it as wheezy/sid) and I'm having a problem:

root@debian:/var/www/lottery1# apt-get install php5-mysqlnd
Reading package lists... Done
Building dependency tree       
Reading state information... Done
php5-mysqlnd is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Setting up php5-mysqlnd (5.4.0-3) ...
ucfr: Attempt from package php5-mysqlnd  to take /etc/php5/mods-available/mysql.ini away from package php5-mysql
ucfr: Aborting.
dpkg: error processing php5-mysqlnd (--configure):
 subprocess installed post-installation script returned error exit status 4
Processing triggers for libapache2-mod-php5 ...
configured to not write apport reports
                                      Reloading web server config: apache2.
Errors were encountered while processing:
 php5-mysqlnd
E: Sub-process /usr/bin/dpkg returned an error code (1)

It seems there is some sort of conflict with the php5-mysql package, but I still get this error even after removing (with --purge) the php5-mysql package.

Any thoughts? I'm trying to run a web tool that makes heavy use of mysqli_result::fetch_all().

Thanks!

© Server Fault or respective owner

Related posts about mysql

Related posts about debian