Installing pecl on CentOS 6.5
PECL is a repository of PHP extensions. It gives you access to a catalog of all known extensions, plus tools for downloading and installing PHP extensions.
It’s not in the standard repos. First, enable Epel
Oddly enough, pecl ships in the php-pear package. It needs the phpize utility, which comes with php-devel
yum install php-pear php-devel
Update the channel data:
pecl channel-update pecl.php.net
To install any extension, the system needs the devel package of the parent package. For example, to install the postgres driver (pdo_pgsql) you need postgres-devel.