mirror of
https://github.com/php/doc-ja.git
synced 2026-03-24 07:02:08 +01:00
71 lines
2.2 KiB
XML
71 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: 96a8863cc0403bb23a99caff9a113b64f3524671 Maintainer: mumumu Status: ready -->
|
|
<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="sodium.setup">
|
|
&reftitle.setup;
|
|
|
|
<section xml:id="sodium.requirements">
|
|
&reftitle.required;
|
|
<simpara>
|
|
この拡張モジュールには、<link xlink:href="&url.libsodium;">libsodium</link>
|
|
≥ 1.0.8 が必要です。
|
|
</simpara>
|
|
</section>
|
|
|
|
<section xml:id="sodium.installation">
|
|
&reftitle.install;
|
|
<simpara>
|
|
PHP 7.2.0 以降、この拡張モジュールは PHP 本体にバンドルされています。
|
|
それより前の PHP のバージョンでは、
|
|
この拡張モジュールは <acronym>PECL</acronym> 経由で利用可能です。
|
|
</simpara>
|
|
|
|
<section xml:id="sodium.installation.new">
|
|
<title>Linux システムへのインストール</title>
|
|
<simpara>
|
|
この拡張モジュールを使うには、
|
|
configure オプション <option role="configure">--with-sodium[=DIR]</option> を使い、
|
|
sodium のサポートを有効にして PHP をコンパイルしなければいけません。
|
|
</simpara>
|
|
</section>
|
|
|
|
<section xml:id="sodium.installation.windows">
|
|
<title>Windows</title>
|
|
<simpara>
|
|
この拡張モジュールを使うには、
|
|
<literal>extension=php_sodium.dll</literal> を &php.ini; に追加しなければなりません。
|
|
</simpara>
|
|
</section>
|
|
|
|
<section xml:id="sodium.installation.pecl">
|
|
<title>PECL 経由でのインストール</title>
|
|
<simpara>
|
|
&pecl.info;
|
|
<link xlink:href="&url.pecl.package;libsodium">&url.pecl.package;libsodium</link>
|
|
</simpara>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</chapter>
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|