Monday, October 1, 2012

Cannot find autoconf. Please check your autoconf

I just upgraded to Mountain Lion 10.8.1 and found that doing a pecl install apc failed.

The fix for me was:

Step 1: Download, install and make autoconf

curl -OL .

tar -xzf autoconf-2.68.tar.gz

cd autoconf-2.68

./configure --prefix=/usr/local


sudo make install --prefix=/usr/local

Step 2: pecl install your apc

sudo pecl install apc

Afterwards you should be able to find the .so file here:


Step 3: Add the extension to your php.ini file

Step 4: Restart Apache

No comments:

Post a Comment