MAMP Pro and memcache

Great post on how to do this with MAMP and for the most part it works with MAMP Pro.
Nate Haug at Lullabot
http://www.lullabot.com/articles/setup-memcached-mamp-sandbox-environment

The paths are a bit different as they are broken down one more level
/Applications/MAMP/bin/php/php5.2.17
and
/Applications/MAMP/bin/php/php5.3.6

Then after that I had an error with this command.
cd /Applications/MAMP/bin/php/php5.2.17/bin
./pecl i memcache

The error was

Notice: unserialize(): Error at offset 277 of 1141 bytes in Config.php on line 1050

After a google moment it seems that I had to move the config files out from here /Applications/MAMP/bin/php/php5.2.17/conf/php.ini
This also effected pear as well (there was a pear one in there so the command
pear list
also gave you that error
Thanks to this page for that tip
http://forum.mamp.info/viewtopic.php?f=6&t=14592

I saved them in my home folder in case I needed them later.

Then the rest of the instructions on http://www.lullabot.com/articles/setup-memcached-mamp-sandbox-environment just worked.

Faceted Search

Related by tag

drupal, views

drupal

developer, drupal, php

drupal, panels, views

drupal, mobile, panels

drupal, Drupal Planet, security

drupal, Drupal Planet

drupal, usability

drupal, ubercart

command line, drupal, Drupal Planet

drupal, Drupal Planet, omega

Author Profile

Alfred Nutile's picture
Alfred Nutile

Not counting my Commodore 64 years, I began my IT career when Windows 95 hit the scene and Google was just a glimmer on the Californian horizon. I discovered Drupal four years ago when it was giving Joomla a run for its money.
 
At the time, I was working as the IT manager at the National Priorities Project (NPP). We were using Joolma and getting about 200,000 visitors a month and the site was not scaling well.  I saw the limits of Joomla and the promise of Drupal 4 with its taxonomy system, clean urls, and security features.  I converted NPP to Drupal and migrated their main database,  http://nationalpriorities.org/nppdatabase_tool, from webobjects to a Drupal-friendly structure in MySQL.  Still not satisfied, I moved NPP’s constituent data (including their 25,000 member email list) out of the expensive Raiser's Edge and into the free and open source CiviCRM 1.8, saving the company money that it was spending on their desktop software.
 
Thus began my commitment to supporting non-profits by creating affordable, custom-built content management systems in Drupal and CiviCRM. I founded River Valley Tech Collective as a collaborative team of other like-minded techies to provide Drupal-driven sites to a wider range of non-profits, educational institutions and local community organizations.