Has anybody gotten PDO_mysql working on the default PHP installation on a mac? It works with MAMP but that's inconvenient.

I'm developing for Zend Framework and mysql, and Zend_db uses PDO. The default php doesn't come with PDO_mysql.

link|improve this question
Yes, but I can't remember how... it took about a day of playing around though. – workmad3 May 30 '09 at 13:11
feedback

1 Answer

up vote 2 down vote accepted

I didn't get it working with the default PHP on the Mac. I had to install both MySQL and PHP from macports.

PS: Zend_Db also has database adapters for PHP's ext/mysqli. Your choice. Zend_Db is not limited to PDO adapters.

link|improve this answer
Ah, I guess if I'd read a bit further in the docs I would have figured out I can use mysqli. That seems like it should do the trick! – GoatRider Jun 1 '09 at 1:32
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.