Source of: /manual/en/curl.installation.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/curl.setup.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'en',
),
'this' =>
array (
0 => 'curl.installation.php',
1 => 'Installation',
),
'up' =>
array (
0 => 'curl.setup.php',
1 => 'Installing/Configuring',
),
'prev' =>
array (
0 => 'curl.requirements.php',
1 => 'Requirements',
),
'next' =>
array (
0 => 'curl.configuration.php',
1 => 'Runtime Configuration',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<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 <span class="option">--with-curl[=DIR]</span> 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
<span class="option">--with-curlwrappers</span>.
</p>
<blockquote><p><b class="note">Note</b>:
<b>Note to Win32 Users</b><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><?php manual_footer(); ?>