How to enable php-gmp on Mac OS X 10.6.6? (no macports)
I want to enable my php-gmp and I don't want to use macports because I use homebrew. First I brew install gmp and I got gmp 5.0.1 Then I downloaded the PHP source 5.3.6, then I go to source/ext/gmp I did phpize and then MACOSX_DEPLOYMENT_TARGET=10.6 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=/Developer/SDKs/MacOSX10.6.sdk/usr/bin/php-config; make -j6;sudo make install And it gave me this message: checking for GNU MP support... yes, shared checking for __gmp_randinit_lc