<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/enchant.setup.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'it',
  ),
  'this' => 
  array (
    0 => 'enchant.installation.php',
    1 => 'Installazione',
    2 => 'Installazione',
  ),
  'up' => 
  array (
    0 => 'enchant.setup.php',
    1 => 'Installazione/Configurazione',
  ),
  'prev' => 
  array (
    0 => 'enchant.requirements.php',
    1 => 'Requisiti',
  ),
  'next' => 
  array (
    0 => 'enchant.resources.php',
    1 => 'Tipi di risorse',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/enchant/configure.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="enchant.installation" class="section">
 <h2 class="title">Installazione</h2>
 <p class="simpara">
  Provided the
  <a href="enchant.requirements.php" class="link">required libraries</a> are
  installed, users may enable enchant by adding the
  <strong class="option configure">--with-enchant[=dir]</strong> option when compiling
  PHP.
 </p>
 <p class="simpara">
  Windows users must enable <var class="filename">php_enchant.dll</var>
  in order to use this extension.
 </p>
 <blockquote class="note"><p><strong class="note">Nota</strong>: 
  <strong>Additional setup on Windows</strong><br />
  <span class="simpara">
   Perché questa estensione possa funzionare, delle
<abbr title="Dynamic Link Library">DLL</abbr> devono essere disponibili 
nel <code class="literal">PATH</code> di sistema di Windows. Vedere la 
<abbr title="Frequently Asked Questions">FAQ</abbr> intitolata &quot;<a href="faq.installation.php#faq.installation.addtopath" class="link">Come aggiungere la cartella di PHP al PATH
in Windows</a>&quot; per informazioni su come farlo. Anche se copiare i
file DLL dalla cartella di PHP alla cartella di sistema di Windows funziona
(poiché la cartella di sistema è di default nel
<code class="literal">PATH</code> di sistema), non è raccomandato. 
<em>Questa estensione richiede che i seguenti file siano nel
<code class="literal">PATH</code>:</em> 
   <var class="filename">libenchant.dll</var>,
   <var class="filename">glib-2.dll</var>,
   <var class="filename">gmodule-2.dll</var>.
  </span>
  <span class="simpara">
   Furthermore, it is necessary to copy at least one of the shipped providers in
   <var class="filename">lib\enchant</var> to <var class="filename">\usr\local\lib\enchant-2</var>
   (which is an absolute path from the root of the <em>current drive</em>).
   Prior to PHP 8.0.0, i.e. using Enchant v1, the providers had to be copied to
   <var class="filename">C:\enchant_plugins</var> instead,
   where this path could be customized by creating the registry value
   <code class="literal">HKEY_CURRENT_USER\SOFTWARE\Enchant\Config\Module_Dir</code>
   and setting it to the desired path.
  </span>
 </p></blockquote>
</div><?php manual_footer($setup); ?>