mirror of
https://github.com/php/doc-fr.git
synced 2026-03-24 07:02:06 +01:00
90 lines
2.1 KiB
XML
90 lines
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- EN-Revision: c8379bc7930bd99d46114d1973a3fcece524ae73 Maintainer: Fan2Shrek Status: ready -->
|
|
<!-- Reviewed: yes -->
|
|
<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 est requis par l'extension et le polyfill de compatibilité.
|
|
</para>
|
|
</section>
|
|
|
|
<section xml:id="ds.installation">
|
|
&reftitle.install;
|
|
<para>
|
|
Le moyen le plus simple d'installer l'extension est via <link xlink:href="&url.pecl.package;ds">PECL</link>
|
|
<screen>
|
|
<![CDATA[
|
|
pecl install ds
|
|
]]>
|
|
</screen>
|
|
</para>
|
|
|
|
<para>
|
|
Vous pouvez également construire directement à partir de la source:
|
|
|
|
<screen>
|
|
<![CDATA[
|
|
# Dépendances que vous pourriez avoir besoin d'installer
|
|
# sudo apt-get install git build-essential php7.0-dev
|
|
|
|
git clone https://github.com/php-ds/extension "php-ds"
|
|
cd php-ds
|
|
|
|
# Compiler et installer l'extension
|
|
phpize
|
|
./configure
|
|
make
|
|
make install
|
|
|
|
# Nettoyer les fichiers de compilation
|
|
make clean
|
|
phpize --clean
|
|
]]>
|
|
</screen>
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
Si vous êtes sur Windows, vous pouvez
|
|
<link xlink:href="https://pecl.php.net/package/ds">télécharger un .dll compilé sur PECL</link>
|
|
|
|
</para>
|
|
|
|
<note>
|
|
<para>
|
|
Si vous utilisez Composer, il est fortement recommandé d'inclure
|
|
<link xlink:href="https://packagist.org/packages/php-ds/php-ds">php-ds/php-ds</link>
|
|
dans votre projet pour que votre code soit toujours fonctionnel dans un environnement où l'extension
|
|
n'est pas installée. L'extension prendra la priorité si elle est installée.
|
|
</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
|
|
-->
|