<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Installation</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="imap.requirements.html">Requirements</a></div> <div class="next" style="text-align: right; float: right;"><a href="imap.configuration.html">Runtime Configuration</a></div> <div class="up"><a href="imap.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="imap.installation" class="section"> <h2 class="title">Installation</h2> <p class="para"> To get these functions to work, you have to compile PHP with <strong class="option configure">--with-imap[=DIR]</strong> , where DIR is the c-client install prefix. From our example above, you would use <strong class="option configure">--with-imap=/usr/local/imap-2000b</strong> . This location depends on where you created this directory according to the description above. <span class="productname">Windows</span> users may include the <var class="filename">php_imap.dll</var> DLL in <var class="filename">php.ini</var>. </p> <p class="para"> IMAP is not supported on systems earlier than Windows 2000. This is because it uses encryption functions in order to enable SSL connections to the mail servers. </p> <blockquote class="note"><p><strong class="note">Note</strong>: <span class="simpara"> Depending on how the c-client was configured, you might also need to add <strong class="option configure">--with-imap-ssl=/path/to/openssl/</strong> and/or <strong class="option configure">--with-kerberos=/path/to/kerberos</strong> to the PHP configure line. </span> </p></blockquote> <div class="warning"><strong class="warning">Warning</strong><p class="simpara">The <a href="book.imap.html" class="link">IMAP</a>, <a href="book.recode.html" class="link">recode</a>, <a href="book.yaz.html" class="link">YAZ</a> and <a href="book.cyrus.html" class="link">Cyrus</a> extensions cannot be used in conjuction, because they share the same internal symbols. Note: Yaz 2.0 and above does not suffer from this problem.</p></div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="imap.requirements.html">Requirements</a></div> <div class="next" style="text-align: right; float: right;"><a href="imap.configuration.html">Runtime Configuration</a></div> <div class="up"><a href="imap.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>