erikwebb dot net

Erik Webb

Cloud Engineering Manager at Acquia. Paragliding on the weekends. Georgia Tech graduate, Atlanta native.

Compiling PHP Extensions on OS X Lion with XCode 4.3 and Acquia Dev Desktop

Posted on May 14, 2012

With OS X Lion and the new XCode 4.3, locations have changed and SDKs are no longer available. The current Acquia documentation also no longer works. I have begun compiling extensions using the following trick -

CFLAGS='-arch i386 -isysroot /Applications/ -mmacosx-version-min=10.5' ./configure --with-php-config=/Applications/acquia-drupal/php5_3/bin/php-config

Related Blog Posts