So, after several hours of trying to figure this out, I was able to find the problem and fix it. I am pretty much a huge noob when it comes to all this, but here is the best I can explain, what I think I understand:
So, when I ran the first phpize run in the module, it was configured for my default php installation. I needed to specify php and phpize for my PATH in my .bash_profile
export PATH=/Applications/MAMP/Library/bin:/Applications/MAMP/bin/php/php5.4.3/bin:/usr/local/bin:$PATH:/opt/local/bin
Be sure to change the php version to the version you are running on.
After adding this to your path, running phpize -v should return:
PHP Api Version: 20100412 Zend Module Api No: 20100525 Zend Extension Api No: 220100525
and running which phpize should return: /Applications/MAMP/bin/php/php5.4.3/bin/phpize
So, itβs just a matter of deleting all the files that were installed for the first time, and restarting the installation process. I unpacked the downloaded cd file into the unpacked folder and ran: / Applications / MAMP / bin / php / php 5.4.3 / bin / phpize. / configure do cp modules / memcache.so / Applications / MAMP / bin / php / php5.4.3 / lib / php / extensions / no-debug-non-zts-20100525 /
And the boom. He works!
This article helped me a lot, although it is not related to memcache: http://drupal.org/node/1464236
source share