Sometimes, certain php apps require certain packages to be installed via pear.
Use yum if given a choice, ie “yum install php-pear”.
If yum is not available or due to whatever reason, We need to manually install a new version from pear website.
elinks -source http://pear.php.net/go-pear | php // follow thru the prompts. then configure the installation parameters Below is a suggested file layout for your new PEAR installation. To change individual locations, type the number in front of the directory. Type 'all' to change all of them or simply press Enter to accept these locations. 1. Installation prefix ($prefix) : /usr/share 2. Temporary files directory : /tmp 3. Binaries directory : /usr/bin 4. PHP code directory ($php_dir) : $prefix/pear 5. Documentation base directory : $php_dir/docs 6. Data base directory : $php_dir/data 7. Tests base directory : $php_dir/tests