downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Our source is open

The syntax highlighted source is automatically generated by PHP from the plaintext script. If you're interested in what's behind the several functions we used, you can always take a look at the source of the following files:

Of course, if you want to see the source of this page, we have it available. You can also browse the SVN repository for this website on svn.php.net.

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&#039;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&#039;t need <var class="filename">libcurl.dll</var> from the cURL site.
  </span>
  </p></blockquote>
</div><?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites