1
0
mirror of https://github.com/php/doc-fr.git synced 2026-03-24 07:02:06 +01:00
Files

69 lines
2.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: bf92d8bd839301de7c837d20ab1dac6c14f83bbf Maintainer: yannick Status: ready -->
<!-- Reviewed: yes Maintainer: yannick -->
<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="pthreads.setup">
&reftitle.setup;
<section xml:id="pthreads.requirements">
&reftitle.required;
<simpara>
Pthreads requiert une construction de PHP avec ZTS activé
(<option role="configure">--enable-zts</option>, ou sur les systèmes non-Windows antérieurs à PHP 8.0.0,
<option role="configure">--enable-maintainer-zts</option>).
</simpara>
<caution>
<simpara>
La sécurité des Threads Zend (Zend Thread Safety - ZTS) ne peut pas être activée
après construction; c'est une option de compilation.
</simpara>
</caution>
<simpara>
pthreads devrait compiler tant qu'il y a un entête Posix Threads fonctionnel
(pthread.h) ainsi qu'une construction ZTS de PHP, ceci inclut Windows (en
utilisant le projet pthread-w32 de redhat).
</simpara>
</section>
<section xml:id="pthreads.installation">
&reftitle.install;
<simpara>
Les versions de pthreads sont hébergées par PECL et les sources sur
<link xlink:href="&url.git.hub;krakjoe/pthreads">github</link>.
La procédure d'installation la plus simple est la procédure PECL standard :
<link xlink:href="&url.pecl.package;pthreads">&url.pecl.package;pthreads</link>.
</simpara>
<simpara>
Les utilisateurs Windows peuvent télécharger des binaires préconstruits depuis
le site de <link xlink:href="&url.pecl.package;pthreads">PECL</link>.
</simpara>
<caution>
<simpara>
Les utilisateurs Windows doivent également ajouter pthreadVC2.dll (distribué
avec Windows) à leur <envar>PATH</envar>.
</simpara>
</caution>
</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
-->