mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 08:28:54 +00:00
Update Enchant installation instructions
As of PHP 8.0.0, Windows uses Enchant-2 by default, and that looks for the providers in a different folder (what is no longer changeable via the Registry). We also remove the outdated PHP 5 related information.
This commit is contained in:
parent
7639cf8773
commit
6c7300690f
1 changed files with 6 additions and 8 deletions
|
@ -2,15 +2,10 @@
|
|||
<!-- $Revision$ -->
|
||||
<section xml:id="enchant.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
&reftitle.install;
|
||||
<para>
|
||||
This extension is bundled with PHP as of PHP 5.3.0. Before this time,
|
||||
enchant was a PECL extension. Users of versions prior to 5.3.0 may use the
|
||||
<link xlink:href="&url.pecl.package;enchant">PECL extension</link>.
|
||||
</para>
|
||||
<para>
|
||||
Provided the
|
||||
<link linkend="enchant.requirements">required libraries</link> are
|
||||
installed, users of PHP 5.3.0 or later may enable enchant by adding the
|
||||
installed, users may enable enchant by adding the
|
||||
<option role="configure">--with-enchant[=dir]</option> option when compiling
|
||||
PHP.
|
||||
</para>
|
||||
|
@ -28,8 +23,11 @@
|
|||
</para>
|
||||
<para>
|
||||
Furthermore, it is necessary to copy at least one of the shipped providers in
|
||||
<filename>lib/enchant/</filename> to <filename>C:\enchant_plugins</filename>.
|
||||
This path can be customized by creating the registry value
|
||||
<filename>lib\enchant</filename> to <filename>\usr\local\lib\enchant-2</filename>
|
||||
(which is an absolute path from the root of the <emphasis>current drive</emphasis>).
|
||||
Prior to PHP 8.0.0, i.e. using Enchant v1, the providers had to be copied to
|
||||
<filename>C:\enchant_plugins</filename> instead,
|
||||
where this path could be customized by creating the registry value
|
||||
<literal>HKEY_CURRENT_USER\SOFTWARE\Enchant\Config\Module_Dir</literal>
|
||||
and setting it to the desired path.
|
||||
</para>
|
||||
|
|
Loading…
Reference in a new issue