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

$ sudo yum install php-devel
$ pecl install