mirror of
https://github.com/macintoshplus/doc-fr.git
synced 2026-03-24 08:52:09 +01:00
* sync install * sync reference/mysqlnd * sync reference/opcache * sync reference/openssl * sync reference/password * sync reference/pcre * sync reference/xml * Update reference/opcache/configure.xml Co-authored-by: George Peter Banyard <girgias@php.net> * Update reference/opcache/ini.xml Co-authored-by: Pierrick Charron <pierrick@php.net> * Update reference/password/functions/password-verify.xml Co-authored-by: Pierrick Charron <pierrick@php.net> * fix: reword preg-replace * Update reference/opcache/ini.xml Co-authored-by: Pierrick Charron <pierrick@php.net> --------- Co-authored-by: George Peter Banyard <girgias@php.net> Co-authored-by: Pierrick Charron <pierrick@php.net>
87 lines
2.4 KiB
XML
87 lines
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: 879518c65613330fd988dfb844d54d0e79cc16f8 Maintainer: gui Status: ready -->
|
|
<!-- Reviewed: no -->
|
|
<chapter xml:id="mysqlnd.install" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
|
|
<title>Installation</title>
|
|
|
|
<para>
|
|
<emphasis role="bold">Installation sous Unix</emphasis>
|
|
</para>
|
|
|
|
<para>
|
|
Pour utiliser le pilote natif MySQL,
|
|
PHP doit être compilé en spécifiant explicitement que les extensions de base de
|
|
données MySQL doivent être compilées par rapport à lui. C'est fait grâce aux options
|
|
de configuration précédant la compilation de PHP en elle-même.
|
|
</para>
|
|
|
|
<para>
|
|
Par exemple, pour compiler l'extension MySQL, <literal>mysqli</literal>
|
|
et PDO MySQL en utilisant le pilote natif MYSQL,
|
|
la commande suivante doit être passée :
|
|
</para>
|
|
|
|
<programlisting role="shell">
|
|
<![CDATA[
|
|
./configure --with-mysql=mysqlnd \
|
|
--with-mysqli=mysqlnd \
|
|
--with-pdo-mysql=mysqlnd \
|
|
[autres options]
|
|
]]>
|
|
</programlisting>
|
|
|
|
<para>
|
|
<emphasis role="bold">Installation sous Windows</emphasis>
|
|
</para>
|
|
|
|
<para>
|
|
Dans les distributions officielle de PHP pour Windows, le
|
|
pilote natif MySQL est activé par défaut et aucune configuration
|
|
supplémentaire n'est nécessaire pour l'utiliser. Toutes les extensions
|
|
de base de données MySQL l'utiliseront alors.
|
|
</para>
|
|
<para>
|
|
<emphasis role="bold">Support du plugin d'authentification SHA-256</emphasis>
|
|
</para>
|
|
|
|
<para>
|
|
Le driver natif MySQL requière le chargement de la fonctionnalité OpenSSL de PHP,
|
|
et l'activation de la connexion à MySQL via des comptes qui utilisent
|
|
le plugin d'authentification MySQL SHA-256. Par exemple, PHP pourrait être configuré
|
|
en utilisant la commande suivante :
|
|
</para>
|
|
|
|
<programlisting role="shell">
|
|
<![CDATA[
|
|
./configure --with-mysql=mysqlnd \
|
|
--with-mysqli=mysqlnd \
|
|
--with-pdo-mysql=mysqlnd \
|
|
--with-openssl
|
|
[autres options]
|
|
]]>
|
|
</programlisting>
|
|
|
|
</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
|
|
-->
|