By oacheson on
Trying to upgrade my first site to D7, but can't even get the upgrade.php to run to completion.
Followed upgrade.txt on a test site, but get the message "Drupal 7 requires PHP 5.2.4 or higher with the PHP Data Objects (PDO) extension enabled." on visiting upgrade.php (step 13).
php -i shows PDO installed for mysql on host's site, so I'm at a loss.
Digging through the forum showed several issues, but none seemed to be on this specific issue.
Thanks,
Ollie
Comments
Version of PHP
What is your version of PHP? PDO shipped with PHP 5.1 and above. If PDO is enabled with version of PHP earlier than 5.2, the upgrade may not work.
_
It not just pdo but also the version of php -- as the previous poster asked, what version of php does it list at admin/reports/status?
php version
Hi -- status page reports php 5.2.13 ==Ollie
Common problem. Is there no solution?
When I search the drupal site using this thread's title, there are many, many threads. A few have simple answers (install PDO), but most seem to just hang unresolved. Is there no solution for this?
As noted above, "php -i" reports PDO installed and my site's status page reports a modern version of php.
_
First, be sure to check your php info from admin/reports/status/php -- 'php -i' may or may not be the same config seen by drupal.
Second, verify both that there is a 'PDO' section in that listing and that php is greater than or equal to version 5.2.4.
Third, see #1073232: PDO Errors Requirements Problem Help Fix - INSTALL.txt for D7 and #914106: Cannot Install Due to PDO Error for some more info/settings related to this error.
Then, if you're still having the problem I'd probably go ahead and create a core issue for it. The core devs rarely frequent the forums so no matter how many forum posts exist about it, no one with the right set of eyes is likely to see it here.
How can be?!
In the same server I have installed many sites drupal 7, but when I wanna upgrade a drupal 6.31 site to Drupal 7, shows this error:
-------------------->
PDO is required!
Drupal 7 requires PHP 5.2.4 or higher with the PHP Data Objects (PDO) extension enabled.
I'm going to make a wild
I'm going to make a wild guess here, but I'd say that Drupal 7 requires at least PHP 5.24, and the PDO extension.
Contact me to contract me for D7 -> D10/11 migrations.
i had the same error. Changed
i had the same error. Changed my "mysqli" to "mysql" in settings.php and it worked.
Then update.php t old me i was missing ctool, uuid and chain acceess menu. i loaded them and now my update.php shows a blank page and i cant do anything
any ideas?