downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Our source is open

The syntax highlighted source is automatically generated by PHP from the plaintext script. If you're interested in what's behind the several functions we used, you can always take a look at the source of the following files:

Of course, if you want to see the source of this page, we have it available. You can also browse the SVN repository for this website on svn.php.net.

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">&raquo; ftp://ftp.cac.washington.edu/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><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(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites