Restricted Notes by a Geek

Centos :: Installing php modules via pecl / pear without dependancies

by Tinuva on Feb.26, 2009, under Linux

You might find the following error when you install certain packages:

pecl/mailparse requires PHP extension “mbstring”
No valid packages found
install failed

There are 2 approaches around this.

Approach 1:
Tell the installer to ignore dependancies:

pecl install -n mailparse

Approach 2:
Install the RPM directly, granted you have it in the repos for your current PHP version.

yum install php-pecl-mailparse


Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...