Pecl Install Version
I have this code
Pecl Install Specific Version
which works just fine on my dev server but crashes on my local machine.
running pecl list
on dev returns
and on local returns:
the crash message on my machine is
Jun 14, 2017 I was able to run the PECL extension installation successfully (I even ran my PECL extension installation from WHM via: Home » Software » Module Installers » PHP PECL Manage I rebooted Apache, and I was good to go. Hope this might help others who have the same install problem on a cPanel server.
I'v tried downgrading my local version of mongo but i couldn't figure it out with pecl's poor documentation. for example i tried this:

but i keep on getting channel does not exist
for all my channel permutations. G code simulator online.
- 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).
- PECL is a repository for PHP Extensions, providing a directory of all known extensions and hosting facilities for downloading and development of PHP extensions. The packaging and distribution system used by PECL is shared with its sister, PEAR.
- May 04, 2018 When running multiple PHP versions. There are two minor caveats to keep in mind when running multiple PHP versions, or switching to a new version. Different extension directories. Every minor PHP version has its own API version. This means that PECL will have its own extension directory per minor (7.1., 7.2.) PHP version.
- Changing sudo pecl install memcached to sudo pecl install memcached-1.0.2. Yup, that's it. The php.net post PHP: Compiling shared PECL extensions with the pecl command outlines the passing in of a version string. At the time of writing my build script, the stable build that PECL downloaded and installed was 1.0.2 which worked with libmemcached.
also running mongod --version
locally returns db version v2.6.0 and on dev returns db version v2.4.3
Pecl Connect
ideas?
abboodabbood1 Answer
To downgrade, you can try this:
Then pecl list will show you that it worked.
Not the answer you're looking for? Browse other questions tagged phpmac-osxmongodbpeclpear or ask your own question.
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 -
In my system, I have PECL installed, so I can install PECL extensions like this-
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).
1 Answer
Seems to me that you should do yum install php-pear
to get pecl on your OS, not yum install pecl
.