Skip to content

Instantly share code, notes, and snippets.

@memphys
Created October 20, 2011 19:07
Show Gist options
  • Save memphys/1301997 to your computer and use it in GitHub Desktop.
Save memphys/1301997 to your computer and use it in GitHub Desktop.
php-memcache with XAMPP on Mac OS X Lion
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/
@neroze
Copy link

neroze commented Aug 8, 2013

I am using OS X 10.7 and I get error like. -bash: ./configure: No such file or directory.
any suggestion ???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment