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

时间:2024-05-24 09:36:56
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. and autoconf2. packages exist.
Install autoconf2. and set the PHP_AUTOCONF env var to
autoconf2. 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.