<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = 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',
    2 => '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',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/imap/setup.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<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="https://github.com/uw-imap/imap" class="link external">&raquo;&nbsp;https://github.com/uw-imap/imap</a>
   and compile it.
  </p>
  <p class="para">
   It&#039;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 class="note"><p><strong class="note">Note</strong>: 
   <p class="para">
    To build the c-client library with SSL or/and Kerberos support read
    the docs supplied with the package.
   </p>
  </p></blockquote>
  <blockquote class="note"><p><strong class="note">Note</strong>: 
   <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($setup); ?>