Errors when Statically Compiling PECL modules into PHP

If you get errors like: configure: WARNING: unrecognized options: --enable-apc when statically compiling PECL modules, such as APC into PHP, then ensure you have the proper version of autoconf installed (version 2.13). On Ubuntu that was fixed with a quick sudo apt-get install autoconf2.13

Then you can get back to removing your configure file and running ./buildconf --force before you re-compile.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">