While upgrading from 6.19 to 7.x-dev (4 oct ) and after running update.php I got the following:
A PDO database driver is required!
You need to enable the PDO_ database driver for PHP 5.2.0 or higher so that Drupal 7 can access the database.
See the system requirements page for more information.but pdo is already installed and other D7 sites (cleanly installed not from upgrade) are running fine on the same system, and my phpinfo shows that it installed.
Now after changing permissions of settings.php and site directory ("default") to be writeable by webserver the previous problem has gone.
We need to correct the error message and to add instructions for permissions verifications in document Upgrading from previous versions
Making this issue "major" cos it'll face the majority of people upgrading to d7 knowing that "settings.php" and site directory will be copied by a user
generally different from webserver user and thus loosing their write permission by the webserver.
Comments
Comment #1
jhedstromI think this is a duplicate of #887288: Attempting to use update.php without having configured a database in settings.php results in incorrect/misleading error message.