1
0
mirror of https://github.com/php/doc-ru.git synced 2026-03-23 23:32:16 +01:00
Files
archived-doc-ru/reference/ds/setup.xml
2025-02-28 12:07:40 +03:00

82 lines
2.1 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: e8ac70bf549a723cb36465667a6109d9933b8619 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>
<note>
<para>
Если вы используете Composer, крайне рекомендуется включить
<link xlink:href="&url.packagist.package;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
-->