📄 http.setup.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>Installing/Configuring</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="intro.http.html">Introduction</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="book.http.html">HTTP</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div> <h1>Installing/Configuring</h1><h2>Table of Contents</h2><ul class="chunklist chunklist_chapter"><li><a href="http.install.html">Installation/Configuration</a></li><li><a href="http.configuration.html">Runtime Configuration</a></li><li><a href="http.resources.html">Resource Types</a></li></ul> <div id="http.requirements" class="section"> <h2 class="title">Requirements</h2> <p class="simpara"> The <b class="classname">HttpResponse</b> class requires at least PHP v5.1. Any other class is available as of PHP v5.0. </p> <blockquote><p><b class="note">Note</b>: <span class="simpara"> Be aware though, that some methods are not available with PHP v5.0. </span> </p></blockquote> <div id="http.requirements.windows" class="section"> <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 id="http.requirements.nix" class="section"> <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 (<i>--with-http-curl-requests</i>). 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 (<i>--with-http-zlib-compression</i>). 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 quessing</em> can be enabled by building this extension with <a href="http://sf.net/projects/libmagic" class="link external">» libmagic</a> support (<i>--with-http-magic-mime</i>). </p> </div> </div> </div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="intro.http.html">Introduction</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="book.http.html">HTTP</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -