Added note about the other options which might be needed. And fixed the installation notes.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@79152 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
foobar 2002-04-20 15:38:19 +00:00
parent d0e9010102
commit fb6a4eeb83

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<reference id='ref.imap'>
<title>IMAP, POP3 and NNTP functions</title>
<titleabbrev>IMAP</titleabbrev>
@ -9,15 +9,21 @@
To get these functions to work, you have to compile PHP with
<option role="configure">--with-imap</option>. That requires the
c-client library to be installed. Grab the latest version from
<ulink url="&url.imap;">&url.imap;</ulink> and compile it. Then
copy <filename>c-client/c-client.a</filename> to
<ulink url="&url.imap;">&url.imap;</ulink> and compile it.
</simpara>
<simpara>
Then copy <filename>c-client/c-client.a</filename> to
<filename>/usr/local/lib/libc-client.a</filename> or some other
directory on your link path and copy
<filename>c-client/rfc822.h</filename>,
<filename>mail.h</filename> and <filename>linkage.h</filename> to
<filename>/usr/local/include</filename> or some other directory in
directory on your link path and copy <filename>c-client/*.h</filename>
to <filename>/usr/local/include</filename> or some other directory in
your include path.
</simpara>
<note>
Depending how the c-client was configured, you might also need to add
<option role="configure">--with-imap-ssl=/path/to/openssl/</option>
and/or <option role="configure">--with-kerberos</option> into the PHP
configure line.
</note>
<simpara>
Note that these functions are not limited to the
<acronym>IMAP</acronym> protocol, despite their name. The