Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I try to install solr-beta:

pecl install solr-beta

I get this error:

pecl/solr requires PHP extension "curl" No valid packages found install failed

The thing is curl is already installed and it seems to be enable when I look at my phpinfo page.

share|improve this question
I have exactly the same problem us you :) – einstein Jun 12 '11 at 19:28
up vote 9 down vote accepted

From what is mentioned in, pecl does not recognize php modules that were not statically compiled into php. So if you are using any shared libraries, pecl will ignore them.

Pecl also ignores your php.ini.

The good news is there are still two easy ways to install this if you have curl as a shared extension:

1) pear install pecl/solr

2) pecl install -n solr

That should install solr php module. You will have to include the library by modifying the php.ini file.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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