Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MAMP: How to install Memcached?

Tags:

memcached

mamp

I have tried to install memcached in MAMP - Snow Leopard 10.6.2 using this tutorial:

Setup a Memcached-Enabled MAMP Sandbox Environment

I finished with no errors the first to the last step: Bonus Section: Start and Stop Memcache with MAMP

After that I restarted my MAMP widget in the dashboard and checked by phpinfo but the memcached extension is not there.

Do you guys successfully installed memcached in your MAMP or do you know any other way on how to make it work?

Thanks in advance :)

like image 266
marknt15 Avatar asked Dec 10 '09 08:12

marknt15


1 Answers

In the latest MAMP for mac I had to add the following to PHP.ini (note also, it is NOT the PHP.ini in the /conf directory, it is in /Applications/MAMP/bin/php/php7.2.7/conf.php.ini, look at the output of phpinfo() to see which PHP.ini is active)

extension=igbinary.so
extension=memcached.so
like image 54
patrick Avatar answered Oct 22 '22 13:10

patrick