note 113769 deleted from http.install by sobak
| From: | sobak@php.net | Date: | Sun, 04 Dec 2016 07:25:44 +0000 |
| Subject: | note 113769 deleted from http.install by sobak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-208093@lists.php.net to get a copy of this message | ||
Note Submitter: d4p3r
----
Look out! Since version 2.0, the extension has been completely renovated. Now you need to pre-load
the extensions "raphf", "propro" and "spl". This work for me in Ubuntu
12.04:
apt-get install php-http
pecl install pecl_http
- In php.ini files:
    extension=raphf.so
    extension=propro.so
    extension=http.so
The spl extension is compiled by default in PHP 5.0.0 and since version 5.3.0 can not be disabled.
In addition, instantiation should be done using namespaces nomenclature, such as: new http \ Client
().
Beware! This version is incompatible with version 1 and the event extension.
More information: http://devel-m6w6.rhcloud.com/mdref/http/