<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/recode.setup.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'en',
  ),
  'this' => 
  array (
    0 => 'recode.installation.php',
    1 => 'Installation',
    2 => 'Installation',
  ),
  'up' => 
  array (
    0 => 'recode.setup.php',
    1 => 'Installing/Configuring',
  ),
  'prev' => 
  array (
    0 => 'recode.requirements.php',
    1 => 'Requirements',
  ),
  'next' => 
  array (
    0 => 'ref.recode.php',
    1 => 'Recode Functions',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/recode/configure.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="recode.installation" class="section">
 <h2 class="title">Installation</h2>

 <div class="section" id="recode.installation.php74">
  <h2 class="title">PHP 7.4</h2>
  <p class="simpara">
   This extension has been moved to the <a href="https://pecl.php.net/" class="link external">&raquo;&nbsp;PECL</a>
repository and is no longer bundled with PHP as of PHP 7.4.0
  </p>
  <p class="simpara">
   Information for installing this PECL extension may be
found in the manual chapter titled <a href="install.pecl.php" class="link">Installation
of PECL extensions</a>. Additional information such as new releases,
downloads, source files, maintainer information, and a CHANGELOG, can be
located here: 
   <a href="https://pecl.php.net/package/recode" class="link external">&raquo;&nbsp;https://pecl.php.net/package/recode</a>.
  </p>
 </div>

 <div class="section" id="recode.installation.phplt74">
  <h2 class="title">PHP &lt; 7.4</h2>
  <p class="simpara">
   To be able to use the functions defined in this
   module you must compile your PHP interpreter using the
   <strong class="option configure">--with-recode[=DIR]</strong>
   option.
  </p>
  <div class="warning"><strong class="warning">Warning</strong>
   <p class="simpara">
    Crashes and startup problems of PHP may be encountered
    when loading the recode as extension <strong>after</strong> loading any extension of <a href="ref.mysql.php" class="link">mysql</a> or <a href="ref.imap.php" class="link">imap</a>. Loading the recode before those
    extension has proved to fix the problem.  This is due a technical problem
    that both the c-client library used by imap and recode have their own
    <code class="literal">hash_lookup()</code> function and both mysql and recode have
    their own <code class="literal">hash_insert</code> function.
   </p>
  </div>
  <div class="warning"><strong class="warning">Warning</strong><p class="simpara">The <a href="book.imap.php" class="link">IMAP</a>, <a href="book.recode.php" class="link">recode</a> and
<a href="book.yaz.php" class="link">YAZ</a>
extensions cannot be used in conjunction, because they
share the same internal symbols. Note: Yaz 2.0 and above does not suffer from this problem.</p></div>
 </div>
</div><?php manual_footer($setup); ?>