2010-03-28 22:10:10 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2009-07-11 06:43:42 +00:00
|
|
|
<!-- $Revision$ -->
|
2007-06-20 22:25:43 +00:00
|
|
|
<section xml:id="curl.installation" xmlns="http://docbook.org/ns/docbook">
|
2002-11-25 23:49:22 +00:00
|
|
|
&reftitle.install;
|
|
|
|
<para>
|
2007-01-17 00:14:52 +00:00
|
|
|
To use PHP's cURL support you must also compile PHP <option
|
2002-11-25 23:49:22 +00:00
|
|
|
role="configure">--with-curl[=DIR]</option> where DIR is the
|
2009-05-08 21:30:58 +00:00
|
|
|
location of the directory containing the <filename>lib</filename> and <filename>include</filename>
|
|
|
|
directories. In the <filename>include</filename> directory there should be a folder
|
|
|
|
named <filename>curl</filename> which should contain the <filename>easy.h</filename> and
|
2002-11-25 23:49:22 +00:00
|
|
|
<filename>curl.h</filename> files. There should be a file named
|
2019-03-01 18:32:27 +00:00
|
|
|
<filename>libcurl.a</filename> located in the <filename>lib</filename> directory. Before
|
|
|
|
PHP 5.5.0 it was possible to configure PHP to use cURL for URL streams
|
2002-11-25 23:49:22 +00:00
|
|
|
<option role="configure">--with-curlwrappers</option>.
|
|
|
|
</para>
|
|
|
|
<note>
|
|
|
|
<title>Note to Win32 Users</title>
|
|
|
|
<simpara>
|
2006-01-07 13:55:52 +00:00
|
|
|
In order to enable this module on a Windows environment,
|
2018-05-08 13:54:14 +00:00
|
|
|
<filename>libeay32.dll</filename> and <filename>ssleay32.dll</filename>, or, as of OpenSSL 1.1
|
|
|
|
<filename>libcrypto-*.dll</filename> and <filename>libssl-*.dll</filename>,
|
2018-08-29 15:12:16 +00:00
|
|
|
must be present in your <envar>PATH</envar>.
|
|
|
|
Also <filename>libssh2.dll</filename> must be present in your <envar>PATH</envar>.
|
2006-01-06 23:53:25 +00:00
|
|
|
</simpara>
|
|
|
|
<simpara>
|
2007-01-17 00:14:52 +00:00
|
|
|
You don't need <filename>libcurl.dll</filename> from the cURL site.
|
2002-11-25 23:49:22 +00:00
|
|
|
</simpara>
|
|
|
|
</note>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
|
|
Local variables:
|
|
|
|
mode: sgml
|
|
|
|
sgml-omittag:t
|
|
|
|
sgml-shorttag:t
|
|
|
|
sgml-minimize-attributes:nil
|
|
|
|
sgml-always-quote-attributes:t
|
|
|
|
sgml-indent-step:1
|
|
|
|
sgml-indent-data:t
|
|
|
|
indent-tabs-mode:nil
|
|
|
|
sgml-parent-document:nil
|
2009-09-25 07:04:39 +00:00
|
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
2002-11-25 23:49:22 +00:00
|
|
|
sgml-exposed-tags:nil
|
|
|
|
sgml-local-catalogs:nil
|
|
|
|
sgml-local-ecat-files:nil
|
|
|
|
End:
|
|
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
|
|
vim: et tw=78 syn=sgml
|
|
|
|
vi: ts=1 sw=1
|
|
|
|
-->
|