<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<section xml:id="imap.installation" xmlns="http://docbook.org/ns/docbook">
 &reftitle.install;
 <para>
  To get these functions to work, you have to compile PHP with
  <option role="configure">--with-imap[=DIR]</option>, where DIR is the
  c-client install prefix.  From our example above, you would use 
  <option role="configure">--with-imap=/usr/local/imap-2000b</option>.
  This location depends on where you created this directory according to the
  description above. <productname>Windows</productname> users may include the 
  <filename>php_imap.dll</filename> DLL in &php.ini;.
 </para>
 <note>
  <simpara>
   Depending on 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=/path/to/kerberos</option>
   to the PHP configure line.
  </simpara>
 </note>

 <warning>
  <simpara>
   The IMAP extension is not thread-safe; it should not be used with ZTS builds.
  </simpara>
 </warning>

 &warn.imaprecodeyaz;

</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
-->

