Created
October 20, 2011 19:07
-
-
Save memphys/1301997 to your computer and use it in GitHub Desktop.
php-memcache with XAMPP on Mac OS X Lion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
I am using OS X 10.7 and I get error like. -bash: ./configure: No such file or directory.
any suggestion ???