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.installation.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.installation.php',
   
1 => 'Installation',
  ),
 
'up' =>
  array (
   
0 => 'imap.setup.php',
   
1 => 'Installing/Configuring',
  ),
 
'prev' =>
  array (
   
0 => 'imap.requirements.php',
   
1 => 'Requirements',
  ),
 
'next' =>
  array (
   
0 => 'imap.configuration.php',
   
1 => 'Runtime Configuration',
  ),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
?>
<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
  <span class="option">--with-imap[=DIR]</span>, where DIR is the
  c-client install prefix.  From our example above, you would use
  <span class="option">--with-imap=/usr/local/imap-2000b</span>.
  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><p><b class="note">Note</b>:
  <span class="simpara">
   Depending on how the c-client was configured, you might also need
   to add <span class="option">--with-imap-ssl=/path/to/openssl/</span> and/or
   <span class="option">--with-kerberos=/path/to/kerberos</span>
   to the PHP configure line.
  </span>
 </p></blockquote>

 <div class="warning"><b class="warning">Warning</b><p class="simpara">The <a href="ref.imap.php" class="link">IMAP</a>, <a href="ref.recode.php" class="link">recode</a>,
<a href="ref.yaz.php" class="link">YAZ</a> and <a href="ref.cyrus.php" class="link">Cyrus</a>
extensions cannot be used in conjuction, because they
share the same internal symbols.</p></div>

</div><?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites