<!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>Installation</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="curl.requirements.html">Requirements</a></div> <div class="next" style="text-align: right; float: right;"><a href="curl.configuration.html">Runtime Configuration</a></div> <div class="up"><a href="curl.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="curl.installation" class="section"> <h2 class="title">Installation</h2> <p class="para"> To use PHP's cURL support you must also compile PHP <strong class="option configure">--with-curl[=DIR]</strong> where DIR is the location of the directory containing the <var class="filename">lib</var> and <var class="filename">include</var> directories. In the <var class="filename">include</var> directory there should be a folder named <var class="filename">curl</var> which should contain the <var class="filename">easy.h</var> and <var class="filename">curl.h</var> files. There should be a file named <var class="filename">libcurl.a</var> located in the <var class="filename">lib</var> directory. Beginning with PHP 4.3.0 you can configure PHP to use cURL for URL streams <strong class="option configure">--with-curlwrappers</strong> . This feature was moved to PECL as of PHP 5.5.0. </p> <blockquote class="note"><p><strong class="note">Note</strong>: <strong>Note to Win32 Users</strong><br /> <span class="simpara"> In order to enable this module on a Windows environment, <var class="filename">libeay32.dll</var> and <var class="filename">ssleay32.dll</var> must be present in your PATH. </span> <span class="simpara"> You don't need <var class="filename">libcurl.dll</var> from the cURL site. </span> </p></blockquote> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="curl.requirements.html">Requirements</a></div> <div class="next" style="text-align: right; float: right;"><a href="curl.configuration.html">Runtime Configuration</a></div> <div class="up"><a href="curl.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>