<!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>Requirements</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="imap.setup.html">Installing/Configuring</a></div> <div class="next" style="text-align: right; float: right;"><a href="imap.installation.html">Installation</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.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 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><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="imap.setup.html">Installing/Configuring</a></div> <div class="next" style="text-align: right; float: right;"><a href="imap.installation.html">Installation</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>