php-doc-en/reference/curl/configure.xml

51 lines
1.8 KiB
XML
Raw Permalink Normal View History

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<section xml:id="curl.installation" xmlns="http://docbook.org/ns/docbook">
&reftitle.install;
<para>
To use PHP's cURL support you must also compile PHP <option
role="configure">--with-curl[=DIR]</option> where DIR is the
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
<filename>curl.h</filename> files. There should be a file named
<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
<option role="configure">--with-curlwrappers</option>.
</para>
<note>
<title>Note to Win32 Users</title>
<simpara>
In order to enable this module on a Windows environment,
<filename>libeay32.dll</filename> and <filename>ssleay32.dll</filename>, or, as of OpenSSL 1.1
<filename>libcrypto-*.dll</filename> and <filename>libssl-*.dll</filename>,
must be present in your <envar>PATH</envar>.
Also <filename>libssh2.dll</filename> must be present in your <envar>PATH</envar>.
</simpara>
<simpara>
You don't need <filename>libcurl.dll</filename> from the cURL site.
</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
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
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
-->