Projects / HTTP extension for PHP

HTTP extension for PHP

The HTTP extension for PHP aims to provide a convenient and powerful set of functionality for one of PHP's major applications. It eases handling of HTTP URLs, dates, redirects, headers, and messages, provides means for negotiation of clients' preferred language and charset, as well as a convenient way to send any arbitrary data with caching and resuming capabilities. It provides powerful request functionality if built with CURL support. Parallel requests are available for PHP 5 and greater.

Operating Systems

Last announcement

Writable for everyone 13 Apr 2014 12:24

Hi, I just marked the project writable for anyone, because I did not have the time to keep its record up to date. You are very welcome if you want to maintain this project on, if you think it is worth the effort.

Recent releases

  •  03 Mar 2013 07:20

    Release Notes: This release fixes Bug #64310 (weak etags W/"abc" are quoted as "W/"abc"").

    •  22 Feb 2012 09:38

      Release Notes: This release adds PHP 5.4 compatibility. It fixes bug #59974: methodRegister doesn't allow "_" to be in the method name. It fixes an SAPI hang if the request body size is greater than 4k with http_get_request_body_stream().

      •  05 May 2011 06:52

        Release Notes: This release fixed a bug when the status component of the HTTP response is missing, A double-free when auto-decompressing pages, a non-funtional HttpMessage::setResponseStatus(), a problem where http_redirect breaks output with zlib.output_compression=on, a segmentation fault when passing an invalid URL to http_get(), a logic error and possible hang in sapi_deactivate when using http_get_request_body() with a request body longer than 4096 bytes, and a problem where Make failed.

        •  09 Jun 2010 08:52

          Release Notes: The generic http_negotiate() function was added. The proxytunnel and noproxy request options were added. The proxytunnel option enables tunelling through the HTTP proxy. The noproxy option is a comma separated list of hosts for which a proxy should not be used. The following postredir request option constants were added: HTTP_POSTREDIR_301, HTTP_POSTREDIR_302, HTTP_POSTREDIR_ALL. The HTTP_AUTH_DIGEST_IE authtype request option constant was added. The HTTP_PROXY_HTTP_1_0 proxytype request option constant was added. The condition_unmet request info member was added.

          •  10 Dec 2009 15:35

            Release Notes: A Last-Modified caching bug in the http_send API was fixed. A bug with HttpRequestPool and libevent when adding requests while running was fixed. A memory leak in HttpResponse::getStream() was fixed. A PHP crash after casting a scalar argument to an array in HttpQueryString was fixed. A bug in which http_redirect would fail with url->port==0 was fixed.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.