PECL command not found

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?

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

@JustGiveMeTheDamnManual: Really glad it worked! :] Basically, you were trying to install php-pear from the system’s default repos which is outdated (5.3) so it’s incompatible with php-common (5.4) that you have installed from the remi repo. Make sure you include --enablerepo remi when you’re installing php-related packages :]

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

More like: <br>yum remove php* <br>yum --enablerepo=remi install php php-pear <br> <br>Unless it doesn’t work after tryign this, then try <br>yum --enablerepo=remi install php-devel <br> <br>You don’t want to install a bunch of stuff that you won’t even use.