I received the (seemingly) common "The wrong version of PDO is installed!" message when trying to run update.php to update an existing site to Drupal 7.0

The note at http://drupal.org/requirements/pdo#pecl suggests to remove the pdo and pdo_mysql that might have been installed with pecl, but this isn't how things were installed on this server. The packages php-pco and php-mysql include /usr/lib/php/modules/pdo.so /usr/lib/php/modules/pdo_mysql.so (And the .ini file snipits to include them).

php-pdo-5.1.6-27.el5_5.3
php-mysql-5.1.6-27.el5_5.3

from "php -i" (same with phpinfo() on relevant virtual server)

PDO support => enabled
PDO Driver for MySQL, client library version => 5.0.77

It seems that this isn't recent enough for Drupal 7. Any suggestions?

Comments

mgifford’s picture

Not sure if you looked here - http://drupal.org/node/327731

This seems to be more useful regarding the pdo error though http://drupal.org/node/1098098

Russell McOrmond’s picture

So, the general comment is to install php 5.3 on machines. Will have to wait on that for the moment in some environments, and stick with Drupal 6.x and modules that still work with the older php 5.1.6.

Thanks.

pfrenssen’s picture

Status: Active » Fixed

Closing this old support issue. Feel free to reopen if you still need assistance with this.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.