There are download sections for PECL extensions in http://pecl.php.net/ But I am not getting install steps for PECL *itself**. Following command does not work -

yum intall pecl

In my system, I have PECL installed, so I can install PECL extensions like this-

pecl install mailparse

But, in a system where running pecl command does not recognize the same, how to install PECL first on a Fedora 7 system (old system).


Seems to me that you should do yum install php-pear to get pecl on your OS, not yum install pecl.

On Debian/Ubuntu with the Ondrej PHP PPA: sudo apt-get install php-pear

  • 5
    If anyobody have come here, wondering, like me, about how to install pecl on AWS linux and PHP 7, package is php7-pear and executable is pecl7 – baldrs Jul 18 '17 at 13:08
  • 1
    and if you are using the remi repo - all the binaries etc are in /opt/remi/php70/root/usr/bin. I recommend symbolic linking these to their normal directories etc. – Ross Oct 12 '18 at 10:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.