[support] Database Drivers unreachable (dependecy hell)
Tim Johnson
tim at akwebsoft.com
Fri May 31 23:31:09 UTC 2013
I've got drupal 7 and drush on Mac OSX 10.7
The original PHP install (as shipped) is 5.3.25.
with that configuration I was able to upgrade drupal sites running
locally for several occassions.
One site used sqlite, the other mysql.
Now I have installed PHP 5.4.15, as well as the mysql and sqlite
drivers for php54.
Now when I run drush updb, I get the following:
A PDO database driver is required! You need to enable the PDO_SQLITE
(or PDO_MYSQL) database driver for PHP 5.2.4 or higher so that
Drupal 7 can access the database.
I find
Applications/MySQLWorkbench.app/Contents/Resources/libraries/pysqlite2/_sqlite.so
/opt/local/lib/php54/extensions/no-debug-non-zts-20100525/pdo_sqlite.so
and
opt/local/lib/php54/extensions/no-debug-non-zts-20100525/mysql.so
/opt/local/lib/php54/extensions/no-debug-non-zts-20100525/pdo_mysql.so
Worse, if I set the php execute as php54, drush freezes on the
drush updb
command. No error messages, just stalls.
This is a mess. I feel that I am back in linux 6 dependency hell!
BTW: Those of you who might be using homebrew and would recommend
that I convert, would be on the right track but unfortunately I have
over 200 _active_ packages installed via macports.
Where do I start?
thanks
--
Tim
tim at tee jay forty nine dot com or akwebsoft dot com
http://www.akwebsoft.com
More information about the support
mailing list