1
0
mirror of https://github.com/php/doc-ru.git synced 2026-03-26 08:42:13 +01:00
Files
archived-doc-ru/reference/sodium/setup.xml
Sergey Panteleev daef8df962 Обнуление тега Reviewed (#364)
[skip-lint]
[skip-spellcheck]
2021-11-16 13:03:53 +03:00

80 lines
2.3 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: e7853a8a24fd5de419860cf00e00320905e7cb4c Maintainer: lex Status: ready -->
<!-- Reviewed: no -->
<chapter xml:id="sodium.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.setup;
<section xml:id="sodium.requirements">
&reftitle.required;
<para>
Для модуля требуется <link xlink:href="&url.libsodium;">libsodium</link>
≥ 1.0.8.
</para>
</section>
<section xml:id="sodium.installation">
&reftitle.install;
<para>
Начиная с PHP 7.2.0, модуль включён в PHP. Для более старых версий PHP
модуль доступен через <acronym>PECL</acronym>.
</para>
<section xml:id="sodium.installation.new">
<title>Linux Systems</title>
<para>
Для того, чтобы использовать модуль, вам нужно скомпилировать PHP с поддержкой sodium,
используя конфигурационную опцию <option role="configure">--with-sodium[=DIR]</option>.
</para>
</section>
<section xml:id="sodium.installation.windows">
<title>Windows</title>
<para>
Для того, чтобы использовать модуль, вам нужно добавить
<literal>extension=php_sodium.dll</literal> в файл &php.ini;.
</para>
</section>
<section xml:id="sodium.installation.pecl">
<title>Установка через PECL</title>
<para>
&pecl.info;
<link xlink:href="&url.pecl.package;libsodium">&url.pecl.package;libsodium</link>
</para>
</section>
</section>
<section xml:id="sodium.configuration">
&reftitle.runtime;
&no.config;
</section>
<section xml:id="sodium.resources">
&reftitle.resources;
&no.resource;
</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
-->