Fixing phpize: command not found error on CentOS
if you get an error saying phpize: command not found on CentOS, it's likely you haven't installed php-devel yet. Run the following command to install it.
$ sudo yum install php-devel
$ pecl install