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

89 lines
2.4 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: c8379bc7930bd99d46114d1973a3fcece524ae73 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: no -->
<chapter xml:id="ds.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.setup;
<section xml:id="ds.requirements">
&reftitle.required;
<para>
Требуется PHP 7, как для самого модуля, так и для полизаполнения.
</para>
</section>
<section xml:id="ds.installation">
&reftitle.install;
<para>
Самый простой способ установки, через <link xlink:href="&url.pecl.package;ds">PECL</link>
<screen>
<![CDATA[
pecl install ds
]]>
</screen>
</para>
<para>
Также вы можете самостоятельно собрать его из исходников:
<screen>
<![CDATA[
# Зависимости, которые, возможно, придётся установить
# sudo apt-get install git build-essential php7.0-dev
git clone https://github.com/php-ds/extension "php-ds"
cd php-ds
# Сборка и установка модуля
phpize
./configure
make
make install
# Очистка оставшихся артефактов
make clean
phpize --clean
]]>
</screen>
</para>
<para>
Если вы используете Windows, вы можете загрузить
<link xlink:href="https://pecl.php.net/package/ds">готовую библиотеку .dll из PECL</link>
</para>
<note>
<para>
Если вы используете Composer, крайне рекомендуется включить
<link xlink:href="https://packagist.org/packages/php-ds/php-ds">php-ds/php-ds</link>
в ваш проект, чтобы ваш код оставался рабочим, безотносительно того, установлен
модуль или нет.
</para>
</note>
</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
-->