Answer the question
In order to leave comments, you need to log in
How to install PDO on Mac OSX 10.9.2?
Installed php, mysql, apache via mac ports, everything works. When trying to make migrations to yii 1.x, I got an error:
exception 'CDbException' with message 'CDbConnection failed to open the DB connection: could not find driver' in /Users/den-shapkin/Sites/www/yii/framework/db/CDbConnection.php:382
PDO
PDO support => enabled
PDO drivers =>
Answer the question
In order to leave comments, you need to log in
>> When trying to make migrations to yii
Does everything else work? Or does this error only occur in migrations?
At the same time, show what $ php -m produces
[PHP Modules]
bcmath
bz2
Core
ctype
date
dom
ereg
fileinfo
filter
hash
json
libxml
mhash
mysqlnd
pcre
PDO
Phar
readline
Reflection
session
SimpleXML
SPL
standard
tokenizer
xml
xmlreader
xmlwriter
zlib
[Zend Modules]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question