ERROR: `phpize’ failed in CentOS

You need php-devel to use phpize

yum -y install php-devel