Pecl Install Version

Pecl Install Version Average ratng: 7,9/10 7600 reviews
Active4 years, 11 months ago

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:

Mac install pecl

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?

abboodabbood
4523 gold badges7 silver badges20 bronze badges

1 Answer

To downgrade, you can try this:


Then pecl list will show you that it worked.

IcuIcu
8652 gold badges10 silver badges24 bronze badges

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

Active8 years, 6 months ago

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).

Sandeepan NathSandeepan Nath
2925 gold badges9 silver badges26 bronze badges

1 Answer

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

Serty OanSerty Oan
4451 gold badge4 silver badges14 bronze badges

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