简体   繁体   中英

MAMP with MySQL natural driver

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM