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

search for in the

Laufzeit-Konfiguration> <Anforderungen
[edit] Last updated: Fri, 17 May 2013

view this page in

Installation/Configuration

Installation

Diese » PECL-Extension ist nicht Teil von PHP.

Information zur Installation dieser PECL-Extension finden sie im Kapitel Installation von PECL-Extensions. Zusätzliche Informationen wie neue Releases, Downloads, Quelldateien, Maintainerinformation und ein CHANGELOG finden Sie hier: » http://pecl.php.net/package/pecl_http.

Hinweis: The official name of this extension is pecl_http.

Eine DLL-Datei für diese PECL-Erweiterung steht derzeit nicht zur Verfügung. Weitere Details finden Sie im Abschnitt zum Kompilieren für Windows.



Laufzeit-Konfiguration> <Anforderungen
[edit] Last updated: Fri, 17 May 2013
 
add a note add a note User Contributed Notes Installing the HTTP extension - [12 notes]
up
1
bruno dot braga at gmail dot com
1 year ago
In Ubuntu 12.04:

# (curl-devel equivalent in Ubuntu is libcurl4-gnutls-dev)
sudo apt-get install libcurl3 php5-dev libcurl4-gnutls-dev libmagic-dev
sudo pecl install pecl_http
up
1
Christian9997
6 years ago
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.
up
3
cheese dot cube at gmail dot com
4 months ago
To install this PECL extension on Ubuntu 12.10 run the following:

sudo apt-get install php-http make
sudo pecl install pecl_http

Then add the line "extension=http.so" to php.ini (Normally located at /etc/php5/apache2/php.ini) and restart Apache (sudo service apache2 restart).
up
0
anon at anon dot com
10 months ago
For others who can't find pecl_http for PHP 5.3 on Windows...

You can download php_http.dll for PHP 5.3 from the official PHP for Windows site (windows.php.net) at http://downloads.php.net/pierre/
up
0
Jean-Lou Dupont
5 years ago
Don't forget to copy ''http.so'' in the php/modules directory and add ''extension=http.so'' to php.ini.
up
0
aeternuslibertas at gmail dot com
1 year ago
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
up
0
psymatix at gmail dot com
1 year ago
To install libmagic use:

apt-get install libmagic-dev INSTEAD of apt-get install libmagic
up
0
Anonymous
1 year ago
On Fedora, I had to do 'yum install curl-devel' to avoid missing curl.h error.
up
0
jjrp78 at yahoo dot com
2 years ago
in Ubuntu 10.10 I had to create this file:

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

and add this line:

extension=http.so
up
0
srimalj at gmail dot com
5 years ago
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.
up
0
Mohd Azhar bin Ariffin
5 years ago
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.
up
-1
sumariva at gmail dot com
1 year ago
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 )

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