downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Configuration à l'exécution> <Pré-requis
[edit] Last updated: Fri, 25 May 2012

view this page in

Installation/Configuration

Installation

Cette extension » PECL n'est pas intégrée à PHP.

Des informations sur l'installation de ces extensions PECL peuvent être trouvées dans le chapitre du manuel intitulé Installation des extensions PECL. D'autres informations comme les notes sur les nouvelles versions, les téléchargements, les sources des fichiers, les informations concernant les mainteneurs ainsi qu'un CHANGELOG, peuvent être trouvées ici : » http://pecl.php.net/package/pecl_http.

Note: Le nom officiel de cet extension est pecl_http.

Aucune bibliothèque DLL pour cette extension PECL n'est actuellement disponible. Reportez-vous à la section Compilation sous Windows.



Configuration à l'exécution> <Pré-requis
[edit] Last updated: Fri, 25 May 2012
 
add a note add a note User Contributed Notes Installation de l'extension HTTP
aeternuslibertas at gmail dot com 06-Mar-2012 08:34
If you are on Arch linux you can install this via pear.
just install pear first with pacman, then once php-pear is installed you can # pecl install pecl_http
sumariva at gmail dot com 17-Nov-2011 08:00
To install this extension on Gentoo Linux just run the package manager:
emerge -q pecl-http
and add the extension into php.ini
extension=http.so ( do not have the php_ prefix )
psymatix at gmail dot com 27-Jul-2011 12:44
To install libmagic use:

apt-get install libmagic-dev INSTEAD of apt-get install libmagic
Anonymous 20-Jul-2011 11:19
On Fedora, I had to do 'yum install curl-devel' to avoid missing curl.h error.
jjrp78 at yahoo dot com 25-Oct-2010 07:43
in Ubuntu 10.10 I had to create this file:

/etc/php5/conf.d/http.ini

and add this line:

extension=http.so
srimalj at gmail dot com 28-Mar-2008 08:55
Just to add to the above.

I had to install the following in Ubuntu 7.10 .

(otherwise I get a message saying missing curl.h)

# apt-get install libcurl4-gnutls-dev

Hope this helps someone the trouble i went into, just to get the http_post_fields function working

Regs

Srimal.
Mohd Azhar bin Ariffin 25-Feb-2008 03:20
The installation guideline is very insufficient. I've installed for Debian lenny/sid with the following step;

apt-get install php5-dev (to enable pecl command)
apt-get install libcurl3 (to get curl support)
apt-get install libmagic

and

pecl install pecl_http

pecl will download and compile but before that just follow the prompt. If the respective development library is not available in your system, the compilation will abort.

After pecl_http got install, copy /usr/lib/php5/20060613+lfs/http.so to /usr/lib/apache2/modules and restart apache

Hopefully this will help others from facing the same hassle for quite sometime.
Jean-Lou Dupont 07-Jan-2008 12:24
Don't forget to copy ''http.so'' in the php/modules directory and add ''extension=http.so'' to php.ini.
Christian9997 15-Jun-2007 07:09
The "Installation requirements on Windows" are confusing:

If you are a Windows user you need to have the php_curl.dll extension installed before being able to install the php_http.dll extension.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites