Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|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

1 Answer 1

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.

share|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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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