title: struggling to install PHP pecl on Centos
body: <p>I'm trying to install the <code>php_http</code> PHP extension on my CentOS server.</p>
  
  <p>I have done:</p>
  
  <pre><code>yum install php-pear
  </code></pre>
  
  <p>But get:</p>
  
  <pre><code>No package php-pear available
  </code></pre>
  
  <p>Yet I can do:</p>
  
  <pre><code>pear
  </code></pre>
  
  <p>And get a list of commands from Pear.</p>
  
  <p>Same for <code>yum install pecl</code>. I can do <code>pecl</code> but <code>pecl install pecl_http</code> returns:</p>
  
  <pre><code>No releases available for package "pecl.php.net/pecl_http"
  install failed
  </code></pre>
  
  <p>Yet <code>/usr/bin/pecl</code> isn't a directory that exists. Also a <code>sudo pecl install pecl_http</code> returns <code>sudo: pecl: command not found</code>, which I find quite odd.</p>
  
  <p>I'm not entirely sure what's going on here/what I'm doing wrong.</p>
  
  <p>edit: I am using the following repos:</p>
  
  <pre><code>base                         CentOS-6 - Base
  epel                         Extra Packages for Enterprise Linux 6 - x86_64
  extras                       CentOS-6 - Extras
  rpmforge                     RHEL 6 - RPMforge.net - dag
  updates                      CentOS-6 - Updates
  vz-base                      vz-base
  vz-updates                   vz-updates                                                            
  </code></pre>