mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00

The “imap persistent” and “imap chain persistent” are removed as of PHP 4.3.0. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346029 c90b9560-bf6c-de11-be94-00142212c4b1
88 lines
2.7 KiB
XML
88 lines
2.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
|
|
<chapter xml:id="imap.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
&reftitle.setup;
|
|
|
|
<!-- {{{ Requirements -->
|
|
<section xml:id="imap.requirements">
|
|
&reftitle.required;
|
|
<para>
|
|
This extension requires the c-client library to be installed.
|
|
Grab the latest version from <link xlink:href="&url.imap;">&url.imap;</link>
|
|
and compile it.
|
|
</para>
|
|
<para>
|
|
It's important that you do not copy the IMAP source files directly into
|
|
the system include directory as there may be conflicts. Instead, create
|
|
a new directory inside the system include directory, such as
|
|
<filename>/usr/local/imap-2000b/</filename> (location and name
|
|
depend on your setup and IMAP version), and inside this new
|
|
directory create additional directories named <filename>lib/</filename>
|
|
and <filename>include/</filename>. From the <filename>c-client</filename>
|
|
directory from your IMAP source tree, copy all the <filename>*.h</filename>
|
|
files into <filename>include/</filename> and all the
|
|
<filename>*.c</filename> files into <filename>lib/</filename>.
|
|
Additionally when you compiled IMAP, a file named
|
|
<filename>c-client.a</filename> was created. Also put this in the
|
|
<filename>lib/</filename> directory but rename it as
|
|
<filename>libc-client.a</filename>.
|
|
</para>
|
|
<note>
|
|
<para>
|
|
To build the c-client library with SSL or/and Kerberos support read
|
|
the docs supplied with the package.
|
|
</para>
|
|
</note>
|
|
<note>
|
|
<simpara>
|
|
In Mandrake Linux, the IMAP library (<filename>libc-client.a</filename>)
|
|
is compiled without Kerberos support. A separate version with SSL
|
|
(<filename>client-PHP4.a</filename>) is installed. The library must
|
|
be recompiled in order to add Kerberos support.
|
|
</simpara>
|
|
</note>
|
|
</section>
|
|
<!-- }}} -->
|
|
|
|
<!-- {{{ Installation -->
|
|
&reference.imap.configure;
|
|
<!-- }}} -->
|
|
|
|
<!-- {{{ Configuration -->
|
|
&reference.imap.ini;
|
|
<!-- }}} -->
|
|
|
|
<!-- {{{ Resources -->
|
|
<section xml:id="imap.resources">
|
|
&reftitle.resources;
|
|
<para>
|
|
The <literal>imap</literal> resource as returned by
|
|
<function>imap_open</function> references an opened IMAP stream.
|
|
</para>
|
|
</section>
|
|
<!-- }}} -->
|
|
|
|
</chapter>
|
|
|
|
<!-- 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
|
|
-->
|
|
|