Skip to content

Instantly share code, notes, and snippets.

@tiagocardosos
Forked from memphys/commands.sh
Created March 17, 2013 23:05
Show Gist options
  • Save tiagocardosos/5184031 to your computer and use it in GitHub Desktop.
Save tiagocardosos/5184031 to your computer and use it in GitHub Desktop.
cd /tmp
pecl download memcache
tar xzf memcache-2.2.6.tar
cd memcache-2.2.6
phpize
MACOSX_DEPLOYMENT_TARGET=10.7 CFLAGS='-O3 -fno-common -arch i386 -arch x86_64' LDFLAGS='-O3 -arch i386 -arch x86_64' CXXFLAGS='-O3 -fno-common -arch i386 -arch x86_64' ./configure --with-php-config=php-config
make
sudo make install
/usr/lib/php/extensions/no-debug-non-zts-20090626/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment