svn: /phpdoc/ja/trunk/reference/recode/ configure.xml
[email protected] (Yoshinari Takaoka)
| Newsgroups | php.doc.ja |
|---|---|
| Message-ID | <[email protected]> |
mumumu Thu, 14 May 2020 21:50:36 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=349889
Log:
Recode: update installation instructions
As of PHP 7.4, the extension is no longer bundled with PHP, but moved to PECL.
The way I've annotated this emulates the installation instructions for [POSIX regex](https://www.php.net/manual/en/regex.installation.php).
Patch provided by jrfnl.
Changed paths:
U phpdoc/ja/trunk/reference/recode/configure.xml
Modified: phpdoc/ja/trunk/reference/recode/configure.xml
===================================================================
--- phpdoc/ja/trunk/reference/recode/configure.xml 2020-05-14 21:46:58 UTC (rev 349888)
+++ phpdoc/ja/trunk/reference/recode/configure.xml 2020-05-14 21:50:36 UTC (rev 349889)
@@ -1,31 +1,45 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hirokawa Status: ready -->
-<section xml:id="recode.installation" xmlns="http://docbook.org/ns/docbook">
+<!-- EN-Revision: 349882 Maintainer: hirokawa Status: ready -->
+<!-- Credits: mumumu -->
+<section xml:id="recode.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.install;
- <para>
- 本モジュールで定義された関数を使用するには、<option
- role="configure">--with-recode[=DIR]</option> オプションを指定して
- PHP インタプリタをコンパイルする必要があります。
- </para>
- <warning>
+
+ <section xml:id="recode.installation.php74">
+ <title>PHP 7.4</title>
<para>
- 拡張モジュール <link linkend="ref.mysql">mysql</link> または
- <link linkend="ref.imap">imap</link> をロードした
- <emphasis role="strong">後に</emphasis>
- recode を拡張モジュールとしてロードした場合に、
- PHP のクラッシュおよび起動に関する問題が
- 発生する可能性があります。これらの拡張モジュールの前に recode を
- ロードすることにより、問題を解決することができます。
- これは、imap で使用されている c-client ライブラリおよび recode の両方が
- 固有の <literal>hash_lookup()</literal> 関数を有しており、
- mysql と recode が固有の <literal>hash_insert</literal> 関数を有している
- ことによる技術的な問題です。
+ &pecl.moved-ver;7.4.0
</para>
- </warning>
-
- &warn.imaprecodeyaz;
+ <para>
+ &pecl.info;
+ <link xlink:href="&url.pecl.package;recode">&url.pecl.package;recode</link>.
+ </para>
+ </section>
+ <section xml:id="recode.installation.phplt74">
+ <title>PHP < 7.4</title>
+ <para>
+ 本モジュールで定義された関数を使用するには、<option
+ role="configure">--with-recode[=DIR]</option> オプションを指定して
+ PHP インタプリタをコンパイルする必要があります。
+ </para>
+ <warning>
+ <para>
+ 拡張モジュール <link linkend="ref.mysql">mysql</link> または
+ <link linkend="ref.imap">imap</link> をロードした
+ <emphasis role="strong">後に</emphasis>
+ recode を拡張モジュールとしてロードした場合に、
+ PHP のクラッシュおよび起動に関する問題が
+ 発生する可能性があります。これらの拡張モジュールの前に recode を
+ ロードすることにより、問題を解決することができます。
+ これは、imap で使用されている c-client ライブラリおよび recode の両方が
+ 固有の <literal>hash_lookup()</literal> 関数を有しており、
+ mysql と recode が固有の <literal>hash_insert</literal> 関数を有している
+ ことによる技術的な問題です。
+ </para>
+ </warning>
+ &warn.imaprecodeyaz;
+ </section>
</section>
<!-- Keep this comment at the end of the file