<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Requirements</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="http.setup.html">Installing/Configuring</a></div> <div class="next" style="text-align: right; float: right;"><a href="http.install.html">Installing the HTTP extension</a></div> <div class="up"><a href="http.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="http.requirements" class="section"> <h2 class="title">Requirements</h2> <p class="simpara"> The <a href="class.httpresponse.html" class="classname">HttpResponse</a> class requires at least PHP v5.1. Any other class is available as of PHP v5.0. </p> <blockquote class="note"><p><strong class="note">Note</strong>: <span class="simpara"> Be aware though, that some methods are not available with PHP v5.0. </span> </p></blockquote> <div class="section" id="http.requirements.windows"> <h2 class="title">Installation requirements on Windows</h2> <p class="para"> In order to be able to load this extension on <em class="emphasis">Windows</em>, you additionally need to load the following PHP extensions: <a href="ref.hash.html" class="link">hash</a>, <a href="ref.iconv.html" class="link">iconv</a> and <a href="ref.spl.html" class="link">SPL</a>. </p> </div> <div class="section" id="http.requirements.nix"> <h2 class="title">Installation requirements on other platforms</h2> <p class="para"> The extension must be built with <a href="http://curl.haxx.se/libcurl/" class="link external">» libcurl</a> support to enable <em class="emphasis">request</em> functionality (<em>--with-http-curl-requests</em>). A library version equal or greater to <em class="emphasis">v7.12.3</em> is required. </p> <p class="para"> To enable support for sending and receiving <em class="emphasis">compressed</em> responses, the extension must be built with <a href="http://www.zlib.net/" class="link external">» zlib</a> support (<em>--with-http-zlib-compression</em>). A library version equal or greater than <em class="emphasis">v1.2.2</em> is required. </p> <p class="para"> <em class="emphasis">Content type guessing</em> can be enabled by building this extension with <a href="http://sf.net/projects/libmagic" class="link external">» libmagic</a> support (<em>--with-http-magic-mime</em>). </p> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="http.setup.html">Installing/Configuring</a></div> <div class="next" style="text-align: right; float: right;"><a href="http.install.html">Installing the HTTP extension</a></div> <div class="up"><a href="http.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>