Source of: /manual/en/imap.requirements.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/imap.setup.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'en',
),
'this' =>
array (
0 => 'imap.requirements.php',
1 => 'Requirements',
),
'up' =>
array (
0 => 'imap.setup.php',
1 => 'Installing/Configuring',
),
'prev' =>
array (
0 => 'imap.setup.php',
1 => 'Installing/Configuring',
),
'next' =>
array (
0 => 'imap.installation.php',
1 => 'Installation',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div id="imap.requirements" class="section">
<h2 class="title">Requirements</h2>
<p class="para">
This extension requires the c-client library to be installed.
Grab the latest version from <a href="ftp://ftp.cac.washington.edu/imap/" class="link external">» ftp://ftp.cac.washington.edu/imap/</a>
and compile it.
</p>
<p class="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
<var class="filename">/usr/local/imap-2000b/</var> (location and name
depend on your setup and IMAP version), and inside this new
directory create additional directories named <var class="filename">lib/</var>
and <var class="filename">include/</var>. From the <var class="filename">c-client</var>
directory from your IMAP source tree, copy all the <var class="filename">*.h</var>
files into <var class="filename">include/</var> and all the
<var class="filename">*.c</var> files into <var class="filename">lib/</var>.
Additionally when you compiled IMAP, a file named
<var class="filename">c-client.a</var> was created. Also put this in the
<var class="filename">lib/</var> directory but rename it as
<var class="filename">libc-client.a</var>.
</p>
<blockquote><p><b class="note">Note</b>:
To build the c-client library with SSL or/and Kerberos support read
the docs supplied with the package.
<br />
</p></blockquote>
<blockquote><p><b class="note">Note</b>:
<span class="simpara">
In Mandrake Linux, the IMAP library (<var class="filename">libc-client.a</var>)
is compiled without Kerberos support. A separate version with SSL
(<var class="filename">client-PHP4.a</var>) is installed. The library must
be recompiled in order to add Kerberos support.
</span>
</p></blockquote>
</div><?php manual_footer(); ?>