ERROR: `phpize’ failed

The following errors occurred when installing the software:

Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.
ERROR: ` phpize ‘failed

Solutions:

yum install m4 autoconf

Read More: