title: PHP Solr install not working
body: <p>I've running to the error of trying to install solr with the pecl extension. I've read this one:</p>
  
  <ul>
  <li><a href="https://serverfault.com/questions/278124/trying-to-install-pecl-solr-extension-but-it-needs-curl">Trying to install pecl Solr extension but it needs curl</a> (Server Fault)</li>
  </ul>
  
  <p>I'm using php 5.3.3 on a centos 6 server.</p>
  
  <p>And both times I get the same problem:</p>
  
  <pre><code>pecl install -n solr-beta or pecl install -n solr or pear install pecl/solr
  
  Enable Solr (yes of course) [yes] : 
  Enable Solr Debugging (Compiles solr in debug mode) [no] : 
  libcURL install prefix [/usr] : 
  libxml2 install prefix [/usr] : 
  
  checking for cURL in default path... not found
  configure: error: Please reinstall the libcurl distribution -
      easy.h should be in &lt;curl-dir&gt;/include/curl/
  ERROR: `/var/tmp/solr/configure --enable-solr=yes --enable-solr-debug=no --with-curl=/usr --with-libxml-dir=/usr' failed
  </code></pre>
  
  <p>Is there another fix for this?</p>