title: Ubuntu pecl install pecl_http fail
body: <p>I'm trying to install this extension but it fails in the configuration phase. I'm on ubuntu 12.04 and I have just installed these packages:</p>
  
  <ul>
  <li>libcurl3-openssl-dev</li>
  <li>php-http</li>
  <li>libpcre3-dev</li>
  <li>libcurl3</li>
  <li>php-pear</li>
  <li>php5-dev</li>
  </ul>
  
  <p>PHP version:</p>
  
  <pre><code>PHP 5.3.10-1ubuntu3.14 with Suhosin-Patch (cli) (built: Sep  4 2014 07:08:49) 
  Copyright (c) 1997-2012 The PHP Group
  Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
      with Xdebug v2.1.0, Copyright (c) 2002-2010, by Derick Rethans
  </code></pre>
  
  <p>Here is the log of the installation command:</p>
  
  <pre><code>sudo pecl install pecl_http
  downloading pecl_http-2.1.1.tgz ...
  Starting to download pecl_http-2.1.1.tgz (158,441 bytes)
  .................................done: 158,441 bytes
  64 source files, building
  running: phpize
  Configuring for:
  PHP Api Version:         20090626
  Zend Module Api No:      20090626
  Zend Extension Api No:   220090626
  Enable extended HTTP support [yes] : 
  where to find zlib [/usr] : 
  where to find libcurl [/usr] : 
  where to find libevent [/usr] : 
  building in /tmp/pear/temp/pear-build-rootqE2kgU/pecl_http-2.1.1
  running: /tmp/pear/temp/pecl_http/configure --with-http --with-http-zlib-dir=/usr --with-http-libcurl-dir=/usr --with-http-libevent-dir=/home/gare88/Lib/Php/libevent-2.0.21-stable/
  checking for grep that handles long lines and -e... /bin/grep
  
  [... cut...]
  
  checking for zlib.h... found in /usr
  checking for zlib version &gt;= 1.2.0.4... 1.2.3.4
  checking for curl/curl.h... found in /usr
  checking for curl-config... found: /usr/bin/curl-config
  checking for curl version &gt;= 7.18.2... 7.22.0
  checking for SSL support in libcurl... yes
  checking for openssl support in libcurl... no
  checking for gnutls support in libcurl... no
  checking for ares support in libcurl... no
  checking for bundled SSL CA info... /etc/ssl/certs/ca-certificates.crt
  checking for event2/event.h... not found
  configure: WARNING: continuing without libevent support
  checking for ext/raphf support... no
  configure: error: Please install pecl/raphf and activate extension=raphf.so in your php.ini
  ERROR: `/tmp/pear/temp/pecl_http/configure --with-http --with-http-zlib-dir=/usr --with-http-libcurl-dir=/usr --with-http-libevent-dir=/usr' failed
  </code></pre>
  
  <p>It seems that is a problem with <strong>pecl/raphf</strong> so I tried:</p>
  
  <pre><code>sudo pecl install raphf
  pecl/raphf is already installed and is the same as the released version 1.0.4
  install failed
  </code></pre>
  
  <p>At the end of php.ini file located on /etc/php5/apache2/php.ini
   I added the line:</p>
  
  <pre><code>extension=raphf.so
  extension=propro.so
  extension=http.so
  </code></pre>
  
  <p>Is there anything else I can try?</p>