Softaculous


Topic : Memcache on MAC OS X Lion AMPPS


Posted By: qwertyuiop1910 on May 10, 2012, 2:10 pm
I need to install php memcache module in AMPPS.

Because in ampps PECL isn't available i tried to compile extension but only generate error: "mach-o, but wrong architecture in Unknown on line 0". I'll try with MACOSX_DEPLOYMENT_TARGET switching but it's does not help.

Do You have some way to install it?

Thanks for help

Posted By: scarnie on May 24, 2012, 11:18 pm | Post: 1
AMPPS PHP is 32-bit, so make sure you execute:
Code
export CFLAGS="-arch i386"

before trying to compile extensions

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.