reference/enchant/configure.xml
6c7300690f0328443314af3bec6aa3ce374ae368
...
...
@@ -3,17 +3,35 @@
3
3
<section xml:id="enchant.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
4
4
&reftitle.install;
5
5
<para>
6
-
This extension is bundled with PHP as of PHP 5.3.0. Before this time,
7
-
enchant was a PECL extension. Users of versions prior to 5.3.0 may use the
8
-
<link xlink:href="&url.pecl.package;enchant">PECL extension</link>.
9
-
</para>
10
-
<para>
11
6
Provided the
12
7
<link linkend="enchant.requirements">required libraries</link> are
13
-
installed, users of PHP 5.3.0 or later may enable enchant by adding the
8
+
installed, users may enable enchant by adding the
14
9
<option role="configure">--with-enchant[=dir]</option> option when compiling
15
10
PHP.
16
11
</para>
12
+
<para>
13
+
Windows users must enable <filename>php_enchant.dll</filename>
14
+
in order to use this extension.
15
+
</para>
16
+
<note>
17
+
<title>Additional setup on Windows</title>
18
+
<para>
19
+
&ext.windows.path.dll;
20
+
<filename>libenchant.dll</filename>,
21
+
<filename>glib-2.dll</filename>,
22
+
<filename>gmodule-2.dll</filename>.
23
+
</para>
24
+
<para>
25
+
Furthermore, it is necessary to copy at least one of the shipped providers in
26
+
<filename>lib\enchant</filename> to <filename>\usr\local\lib\enchant-2</filename>
27
+
(which is an absolute path from the root of the <emphasis>current drive</emphasis>).
28
+
Prior to PHP 8.0.0, i.e. using Enchant v1, the providers had to be copied to
29
+
<filename>C:\enchant_plugins</filename> instead,
30
+
where this path could be customized by creating the registry value
31
+
<literal>HKEY_CURRENT_USER\SOFTWARE\Enchant\Config\Module_Dir</literal>
32
+
and setting it to the desired path.
33
+
</para>
34
+
</note>
17
35
</section>
18
36

19
37
<!-- Keep this comment at the end of the file
20
38