Report this

What is the reason for this report?

PECL command not found

Posted on June 20, 2013

I’m trying to configure the Memcache module for W3 Total Cache on my wordpress install. I am running CentOS 6 on a LEMP stack. Everytime I try to run a PECL command it returns “-bash: pecl: command not found”

I am at my wits end here and burnt out after several hours of googling. Help?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Heh, that seemed to work Kamal. Its been a bit of a struggle getting Wordpress to play nicely with Nginx but I’m making progress. <br> <br>Thank you both very much :-) DigitalOcean rocks

Still doesn’t work. This is the output I am getting from running yum install php-pear <br> <br>===================================================== <br>[root@Manuals ~]# yum install php-pear <br>Loaded plugins: fastestmirror <br>Loading mirror speeds from cached hostfile <br> * base: mirror.ate.info <br> * extras: centos.crazyfrogs.org <br> * updates: centos.copahost.com <br>base | 3.7 kB 00:00 <br>extras | 3.4 kB 00:00 <br>updates | 3.4 kB 00:00 <br>Not using downloaded repomd.xml because it is older than what we have: <br> Current : Thu Jun 20 16:28:11 2013 <br> Downloaded: Thu Jun 13 11:08:15 2013 <br>Setting up Install Process <br>Resolving Dependencies <br>–> Running transaction check <br>—> Package php-pear.noarch 1:1.9.4-4.el6 will be installed <br>–> Processing Dependency: php-cli >= 5.1.0-1 for package: 1:php-pear-1.9.4-4.el6.noarch <br>–> Running transaction check <br>—> Package php-cli.x86_64 0:5.3.3-22.el6 will be installed <br>–> Processing Dependency: php-common(x86-64) = 5.3.3-22.el6 for package: php-cli-5.3.3-22.el6.x86_64 <br>–> Finished Dependency Resolution <br>Error: Package: php-cli-5.3.3-22.el6.x86_64 (base) <br> Requires: php-common(x86-64) = 5.3.3-22.el6 <br> Installed: php-common-5.4.16-1.el6.remi.x86_64 (@remi) <br> php-common(x86-64) = 5.4.16-1.el6.remi <br> Available: php-common-5.3.3-22.el6.x86_64 (base) <br> php-common(x86-64) = 5.3.3-22.el6 <br> You could try using --skip-broken to work around the problem <br> You could try running: rpm -Va --nofiles --nodigest <br>

Try the following command: <br> <br>yum install --enablerepo remi php-pear php-devel

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.