MAMP with natural MySQL driver

So, I worked with MAMP to develop the site locally on my computer, but one of the things that really bothered me was that MAMP did not ship with MySQL Natural Driver for PHP. Therefore, I can not use the wonderful function get_result(). I even tried to compile PHP manually with the driver, but it quickly went up in flames. If it is not possible to install MAMP using mysqlnd, can anyone explain what would be the best way to get it? Launch Mac OS X 10.7 Lion.

+5
source share
1 answer

Vagrant is probably the best solution for conflicting issues with PHP, MySQL, etc. Although many people try to configure their own virtual machine, you can use a pre-configured block similar to the one listed here:

http://laravel.com/docs/homestead

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

0
source

All Articles