When building php 5.3, if you get the following error:

 

buildconf: You need autoconf 2.59 or lower to build this version of PHP.
          You are currently trying to use 2.63
          Most distros have separate autoconf 2.13 or 2.59 packages.
          On Debian/Ubuntu both autoconf2.13 and autoconf2.59 packages exist.
          Install autoconf2.13 and set the PHP_AUTOCONF env var to
          autoconf2.13 and try again.

a reported solution is to type:

yum install autoconf213
export PHP_AUTOCONF=/usr/bin/autoconf-2.13

and then try the php build again.

posted @ 2016-10-24 13:18  午时的海  阅读(165)  评论(0)    收藏  举报