1
0
mirror of https://github.com/php/doc-ru.git synced 2026-03-24 07:42:22 +01:00
Files
archived-doc-ru/reference/sodium/setup.xml
2026-01-25 15:14:02 +00:00

69 lines
2.2 KiB
XML
Raw Permalink 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: 96a8863cc0403bb23a99caff9a113b64f3524671 Maintainer: lex Status: ready -->
<!-- Reviewed: no -->
<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 Systems</title>
<simpara>
Функции модуля будут доступны, только если скомпилировать PHP с поддержкой модуля sodium
через конфигурационную опцию <option role="configure">--with-sodium[=DIR]</option>.
</simpara>
</section>
<section xml:id="sodium.installation.windows">
<title>Windows</title>
<simpara>
Чтобы использовать модуль в ОС Windows, требуется добавить в файл &php.ini;
строку <literal>extension=php_sodium.dll</literal>.
</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
-->