I wanted to use memcached but didn't want to compile all the dependencies by hand and wanted to use the stock version of Apache that ships with OS X so I cobbled together the following instructions.
- Install MacPorts
- Use MacPorts to install memcached:
sudo port install memcached - Use
peclto download the latest version ofmemcachedand uncompress it:
cd /tmp
pecl download memcached
tar xvzf memcached-*.tgz - Build the extension using MacPort's version of
libmemcached(which was installed as a dependency ofmemcached):
cd memcached-*/
phpize
./configure --with-libmemcached-dir=/opt/local/
sudo make install - Enable it by editing
php.iniand adding the following line:
extension=memcached.so - Restart Apache:
sudo apachectl graceful
References:
Dilemma
I was really impressed with your decision to boycott Amazon for pulling the plug on Wikileaks. Would you do that same with Apple now that they did the same thing in app store?
http://voices.washingtonpost.com/fasterforward/2010/12/wikileaks_app_pul...