MAMP with MySQL natural driver

528 Views Asked by At

So I've been working with MAMP to develop a site locally on my computer, but one of the things that has been really bugging me is that MAMP doesn't come with the MySQL Natural Driver for PHP. So I can't use the lovely get_result() function. I even tried compiling PHP manually with the driver, but that quickly went up in flames. If it is impossible to set MAMP up with the mysqlnd, then could someone explain what would be the best way to go about getting it? Running Mac OS X 10.7 Lion.

1

There are 1 best solutions below

0
On

Vagrant is most likely the best solution for conflicting issues with PHP, MySQL and etc. While many people are timid at configuring their own virtual machine you can use a preconfigured box like the one listed here:

http://laravel.com/docs/homestead

This allows you to get up and running quickly and modify MySQL anyway you prefer.