cvs: phpdoc-fr /faq installation.xml
| From: | Yannick TORRES | Date: | Wed, 02 Jun 2004 15:27:37 +0000 |
| Subject: | cvs: phpdoc-fr /faq installation.xml | ||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-2833@lists.php.net to get a copy of this message | ||
yannick Wed Jun 2 11:27:37 2004 EDT
Modified files:
/phpdoc-fr/faq installation.xml
Log:
initial translation with the big gui :p
http://cvs.php.net/diff.php/phpdoc-fr/faq/installation.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-fr/faq/installation.xml diff -u phpdoc-fr/faq/installation.xml:1.1 phpdoc-fr/faq/installation.xml:1.2 --- phpdoc-fr/faq/installation.xml:1.1 Wed Jun 2 09:27:33 2004 +++ phpdoc-fr/faq/installation.xml Wed Jun 2 11:27:37 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.27 Maintainer: gui Status: partial --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.28 Maintainer: gui Status: ready --> <chapter id="faq.installation"> <title>Installation</title> <titleabbrev>Installation</titleabbrev> @@ -169,7 +169,7 @@ AddType application/x-httpd-php .php # for PHP 4 ]]> </programlisting> - ... aux propriétés glabales ou aux propriétés du VirtualDomain ou vous + ... aux propriétés globales ou aux propriétés du VirtualDomain ou vous voulez que &php; officie. </para> </answer> @@ -192,101 +192,103 @@ construire des fichiers RPM de &php; 3, lisez ceci... </para> <para> - The RPM packagers are setting up the RPMS to install - without database support to simplify installations <emphasis>and</emphasis> - because RPMS use /usr/ instead of the standard /usr/local/ directory for - files. You need to tell the RPM spec file which databases to support - and the location of the top-level of your database server. - </para> - <para> - This example will explain the process of adding support for the - popular MySQL database server, using the mod installation for Apache. - </para> - <para> - Of course all of this information can be adjusted for any database - server that PHP supports. We will assume you installed MySQL and Apache - completely with RPMS for this example as well. + Les mainteneurs des paquets RPM ont configuré les paquets RPM à s'installer + sans le support des bases de données pour simplifier l'installation + <emphasis>et</emphasis> parceque les paquets RPMs utilise le répertoire + <literal>/usr</literal> au lieu du répertoire standart <literal>/usr/local/</literal> + pour les fichiers. Vous devez spécifier au fichier de spécification du paquet RPM + quelle base de données vous voulez utiliser et quel est chemin complet du serveur + de votre base de données. + </para> + <para> + L'exemple ci-dessou explique la procédure pour ajouter le support + de la base de données populaires, MySQL, en utilisant une installation en module d'Apache. + </para> + <para> + Bien sûr, toutes ces informations peuvent être ajustées pour n'importe + quel serveur de bases de données que &php; supporte. Nous supposerons + que vous avez installer MySQL et Apache complètement avec des paquets RPMs + pour cette exemple. <itemizedlist> <listitem> - <para> - First remove mod_php3 : + <para> + Premièrement, supprimer mod_php3 : <programlisting role="shell"> rpm -e mod_php3 </programlisting> - </para> - </listitem> - <listitem> - <para> - Then get the source rpm and INSTALL it, NOT --rebuild + </para> + </listitem> + <listitem> + <para> + Ensuite, récupérer le paquet RPM et installez-le, SANS --rebuild <programlisting role="shell"> rpm -Uvh mod_php3-3.0.5-2.src.rpm </programlisting> - </para> - </listitem> - <listitem> - <para> - Then edit the <filename>/usr/src/redhat/SPECS/mod_php3.spec</filename> file - </para> - <para> - In the %build section add the database support you want, and the path. - </para> - <para> - For MySQL you would add + </para> + </listitem> + <listitem> + <para> + Ensuite, éditez le fichier <filename>/usr/src/redhat/SPECS/mod_php3.spec</filename> + </para> + <para> + Dans la section %build, ajoutez le support de la base de données désiré ainsi que son chemin. + </para> + <para> + Pour MySQL, vous devez ajouter <programlisting role="shell"> --with-mysql=/usr \ </programlisting> - The %build section will look something like this: + La section %build devrait ressembler à quelque chose comme ceci : <programlisting role="shell"> - ./configure --prefix=/usr \ - --with-apxs=/usr/sbin/apxs \ - --with-config-file-path=/usr/lib \ - --enable-debug=no \ - --enable-safe-mode \ - --with-exec-dir=/usr/bin \ - --with-mysql=/usr \ - --with-system-regex +./configure --prefix=/usr \ +--with-apxs=/usr/sbin/apxs \ +--with-config-file-path=/usr/lib \ +--enable-debug=no \ +--enable-safe-mode \ +--with-exec-dir=/usr/bin \ +--with-mysql=/usr \ +--with-system-regex </programlisting> - </para> - </listitem> - <listitem> - <para> - Once this modification is made then build the binary rpm as follows: + </para> + </listitem> + <listitem> + <para> + Une fois cette modification effectuée, compiler le binaire RPM comme ceci : <programlisting role="shell"> rpm -bb /usr/src/redhat/SPECS/mod_php3.spec </programlisting> - </para> - </listitem> - <listitem> - <para> - Then install the rpm + </para> + </listitem> + <listitem> + <para> + Ensuite, installez le RPM <programlisting role="shell"> rpm -ivh /usr/src/redhat/RPMS/i386/mod_php3-3.0.5-2.i386.rpm </programlisting> - </para> - </listitem> + </para> + </listitem> </itemizedlist> - Make sure you restart Apache, and you now have PHP 3 with MySQL support - using RPM's. Note that it is probably much easier to just build - from the distribution tarball of PHP 3 and follow the instructions in - <filename>INSTALL.REDHAT</filename> found in that distribution. - </para> + Assurez-vous de redémarrer Apache et que vous avez &php; 3 avec le support MySQL + en utilisant le paquet RPMs. Notez qu'il est probablement plus facile de compiler + directement depuis l'archive tarball &php; 3 et de suivre les instructions du fichier + <filename>INSTALL.REDHAT</filename> dans les sources de la distribution. + </para> </answer> </qandaentry> <qandaentry id="faq.installation.frontpage"> <question> <para> - Unix: I patched Apache with the FrontPage extensions patch, and - suddenly PHP stopped working. Is PHP incompatible with the - Apache FrontPage extensions? + Unix : J'ai patché Apache avec l'extension FrontPage et subitement, &php; ne fonctionne plus. + Est-ce que &php; est incompatible avec l'extension FrontPage pour Apache ? </para> </question> <answer> <para> - No, PHP works fine with the FrontPage extensions. The problem - is that the FrontPage patch modifies several Apache structures, - that PHP relies on. Recompiling PHP (using 'make clean ; make') - after the FP patch is applied would solve the problem. + Non, &php; fonctionne très bien avec l'extension FrontPage. Le souci vient du fait que le patch + pour l'installation de FrontPage modifie la structure d'Apache, qui est relié à &php;. + Recompiler &php; (en utilisant 'make clean ; make') après avoir patché Apache avec l'extension + FrontPage devrait résoudre ce problème. </para> </answer> </qandaentry> @@ -294,18 +296,18 @@ <qandaentry id="faq.installation.blankscreen"> <question> <para> - Unix/Windows: I have installed PHP, but when I try to - access a PHP script file via my browser, I get a blank screen. + Unix/Windows : J'ai installé &php;, mais lorsque je tente d'accéder à un fichier contenant un + script &php; via mon navigateur, j'obtiens un écran vide. </para> </question> <answer> <para> - Do a 'view source' in the web browser and you will probably - find that you can see the source code of your PHP script. - This means that the web server did not send the script to - PHP for interpretation. Something is wrong with the server - configuration - double check the server configuration against - the PHP installation instructions. + Affichez le code source du document dans votre navigateur et vous + devriez probablement trouver le code source de votre script &php;. + Celà signifie que le serveur web n'a pas envoyé le script à &php; pour interprétation. + Quelque chose est donc incorrect dans le fichier de configuration de votre serveur web - + re-vérifier la configuration du serveur web en vous référant aux instructions d'installations + de &php;. </para> </answer> </qandaentry> @@ -313,24 +315,21 @@ <qandaentry id="faq.installation.500error"> <question> <para> - Unix/Windows: I have installed PHP, but when try to - access a PHP script file via my browser, I get a - server 500 error. + Unix/Windows : J'ai installé &php;, mais lorsque je tente d'accéder à un fichier contenant un + script &php; via mon navigateur, j'obtiens une erreur de type 'server 500 error'. </para> </question> <answer> <para> - Something went wrong when the server tried to run PHP. To - get to see a sensible error message, from the command line, - change to the directory containing the PHP executable - (<filename>php.exe</filename> on Windows) and run - <literal>php -i</literal>. If PHP has any problems running, - then a suitable error message will be displayed which will - give you a clue as to what needs to be done next. If you - get a screen full of HTML codes (the output of the - <function>phpinfo</function> function) then PHP is working, - and your problem may be related to your server configuration - which you should double check. + Quelque chose se passe mal lorsque le serveur tente d'utiliser &php;. + Pour tenter de récupérer un message d'erreur, depuis la ligne de commande, placez vous + dans le répertoire contenant l'exécutable &php; (<filename>php.exe</filename> sous + Windows) et exécutez la commande <literal>php -i</literal>. + Si &php; a un problème quelconque l'empéchant de fonctionner, un message d'erreur + devrait s'afficher qui devrait expliquer comment résoudre ce souci. Si un + écran de code HTML apparait (la sortie de la fonction <function>phpinfo</function>), + celà signifie que &php; fonctionne correctement et que le problème doit certainement venir + de la configuration de votre serveur web que vous devriez re-vérifier. </para> </answer> </qandaentry> @@ -338,8 +337,9 @@ <qandaentry id="faq.installation.undefinedsyms"> <question> <para> - Some operating systems: I have installed PHP without errors, - but when I try to start apache I get undefined symbol errors: + Quelques systèmes d'exploitations : J'ai installé &php; sans erreur, mais lorsque + je tente de démarrer Apache, j'otiens une erreur du type + '<literal>Undefined symbols</literal>' : <programlisting role="shell"> [mybox:user /src/php4] root# apachectl configtest apachectl: /usr/local/apache/bin/httpd Undefined symbols: @@ -350,9 +350,9 @@ </question> <answer> <para> - This has actually nothing to do with PHP, but with the MySQL - client libraries. Some need --with-zlib, others do not. This - is also covered in the MySQL FAQ. + Celà n'a actuellement rien à voir avec &php; mais avec la librairie cliente MySQL. + Suivant les versions, elle a besoin que &php; soit compiler avec l'option + --with-zlib, d'autre non. Ce problème est égaement traité dans la FAQ de MySQL. </para> </answer> </qandaentry> @@ -360,8 +360,8 @@ <qandaentry id="faq.installation.cgierror"> <question> <para> - Windows: I have installed PHP, but when I to access - a PHP script file via my browser, I get the error: + Windows : J'ai installé &php;, mais lorsque j'accède à un fichier contenant un script &php; + via mon navigateur, j'obtiens l'erreur : <screen> cgi error: The specified CGI application misbehaved by not @@ -372,42 +372,38 @@ </question> <answer> <para> - This error message means that PHP failed to output anything - at all. To get to see a sensible error message, from the - command line, change to the directory containing the PHP - executable (<filename>php.exe</filename> on Windows) and run - <literal>php -i</literal>. If PHP has any problems running, - then a suitable error message will be displayed which will - give you a clue as to what needs to be done next. If you - get a screen full of HTML codes (the output of the - <function>phpinfo</function> function) then PHP is working. + Ce message d'erreur signifie que &php; a échoué lors de l'affichage. + Pour tenter de récupérer un message d'erreur, depuis la ligne de commande, + placez-vous dans le répertoire contenant l'exécutable &php; + (<filename>php.exe</filename> sous Windows) et exécutez la commande + <literal>php -i</literal>. Si &php; a un quelconque souci de fonctionnement, alors un message + d'erreur le décrivant s'affichera. Si vous obtenez un écran de code HTML (le contenu + du résultat de la fonction <function>phpinfo</function>), alors &php; fonctionne + correctement. </para> <para> - Once PHP is working at the command line, try accessing the - script via the browser again. If it still fails then it - could be one of the following: + Si &php; fonctionne depuis la ligne de commane, tentez d'accéder à votre script encore une fois + via votre navigateur. Si il échoue toujours, alors, il se peut que ce soit l'un des soucis + suivants : </para> <itemizedlist> <listitem> <simpara> - File permissions on your PHP script, - <filename>php.exe</filename>, <filename>php4ts.dll</filename>, - &php.ini; or any PHP extensions you are trying to load are such - that the anonymous internet user - <literal>ISUR_<machinename></literal> cannot access them. + Les permissions de votre script &php; des fichiers <filename>php.exe</filename>, + <filename>php4ts.dll</filename>, &php.ini; ou de toute extension nécessaire à &php; + que vous tentez de charger, sont telles que l'utilisateur internet anonyme de votre système + <literal>ISUR_<machinename></literal> ne peut pas y accéder. </simpara> </listitem> <listitem> <simpara> - The script file does not exist (or possibly isn't where you - think it is relative to your web root directory). Note that - for IIS you can trap this error by ticking the 'check file - exists' box when setting up the script mappings in the - Internet Services Manager. If a script file does not exist - then the server will return a 404 error instead. There is - also the additional benefit that IIS will do any - authentication required for you based on the NTLanMan - permissions on your script file. + le script &php; n'existe pas (ou n'est pas à l'endroit que vous pensez, relativement au + répertoire racine de votre serveur web). Notez que pour le serveur web IIS, vous pouvez + vérifier celà en cochant la case 'vérifier si le fichier existe' lors de la configuration + de l'exécution des scripts dans le gestionnaire de services Internet. Si un fichier de script + n'existe pas, le serveur web retournera une erreur 404. IIS a également + l'avantage d'effectuer tous les identifications requises à votre place, + basés sur les permissions NTLanMan, sur votre fichier de script. </simpara> </listitem> </itemizedlist> @@ -417,20 +413,20 @@ <qandaentry id="faq.installation.phpandiis"> <question> <para> - Windows: I've followed all the instructions, but still can't - get PHP and IIS to work together! + Windows : J'ai suivi toutes les instructions, mais je n'arrive toujours pas à faire fonctionner + &php; et IIS ensemble ! </para> </question> <answer> <para> - Make sure any user who needs to run a PHP script has the rights - to run <filename>php.exe</filename>! IIS uses an anonymous user - which is added at the time IIS is installed. This user needs - rights to <filename>php.exe</filename>. Also, any authenticated - user will also need rights to execute <filename>php.exe</filename>. - And for IIS4 you need to tell it that PHP is a script engine. - Also, you will want to read - <link linkend="faq.installation.forceredirect">this faq</link>. + Assurez-vous que chaque utilisateur qui a besoin d'exécuter un script &php; + possède les droits requis pour exécuter le fichier <filename>php.exe</filename> ! + IIS utilise un utilisateur anonyme qui est ajouté lors de l'installation de IIS. + Cette utilisateur doit avoir les droits suffisant sur le fichier + <filename>php.exe</filename>. De même, tous les utilisateurs enregistrés doivent + posséder les droits requis pour exécuter le fichier <filename>php.exe</filename>. + Pour IIS4, vous devez lui dire que &php; est un moteur de script. + De plus, vous devriez lire cette <link linkend="faq.installation.forceredirect">FAQ</link>. </para> </answer> </qandaentry> @@ -438,24 +434,22 @@ <qandaentry id="faq.installation.forceredirect"> <question> <para> - When running PHP as CGI with IIS, PWS, OmniHTTPD or Xitami, - I get the following error: <literal>Security Alert! PHP CGI + Lorsque vous exécutez &php; comme CGI avec IIS, PWS, OmniHTTPD ou Xitami, + j'obtiens l'erreur suivante : <literal>Security Alert! PHP CGI cannot be accessed directly.</literal>. </para> </question> <answer> <para> - You must set the <link linkend="ini.cgi.force-redirect"> - cgi.force_redirect</link> directive to <literal>0</literal>. - It defaults to <literal>1</literal> so be sure the directive - isn't commented out (with a <literal>;</literal>). Like - all directives, this is set in &php.ini; + Vous devez définir la directive <link linkend="ini.cgi.force-redirect"> + cgi.force_redirect</link> à &zero;. Par défaut, elle vaut &one;, donc, soyez sûr + que cette directive n'est pas commentée (précédé d'un point virgule). Comme toutes les + directives, elles sont définies dans le &php.ini;. </para> <para> - Because the default is <literal>1</literal>, it's critical - that you're 100% sure that the correct &php.ini; file is being - read. Read <link linkend="faq.installation.findphpini">this faq</link> - for details. + Parceque la valeur par défaut vaut &one;, il est critique que vous soyez sûr à 100% que le + bon fichier &php.ini; a été lu. + Lisez cette <link linkend="faq.installation.findphpini">FAQ</link> pour plus de détails. </para> </answer> </qandaentry> @@ -463,25 +457,24 @@ <qandaentry id="faq.installation.findphpini"> <question> <para> - How do I know if my &php.ini; is being found and read? It - seems like it isn't as my changes aren't being implemented. + Comment puis-je savoir si mon &php.ini; a bien été trouvé et lu ? + Celà semble être le cas mais aucun de mes changements n'ont eu d'effets. </para> </question> <answer> <para> - To be sure your &php.ini; is being read by PHP, make a call to - <function>phpinfo</function> and near the top will be a - listing called <literal>Configuration File (php.ini)</literal>. - This will tell you where PHP is looking for &php.ini; and - whether or not it's being read. If just a directory PATH exists - than it's not being read and you should put your &php.ini; - in that directory. If &php.ini; is included within the PATH than - it is being read. + Pour être sûr que votre &php.ini; a été lu par &php;, effectuez un appel à la fonction + <function>phpinfo</function> et vers le haut du document résultant, il devrait figurer + une liste appelée <literal>Configuration File (php.ini)</literal>. + Celà vous indiquera où &php; a cherché le &php.ini; et si oui ou non il l'a lu. + Si il n'apparait qu'un chemin vers un répertoire existant, celà signifie que + vous devez copier votre &php.ini; dans ce répertoire. Si le &php.ini; est présent dans le chemin, + celà signifie qu'il a bien été lu. </para> <para> - If &php.ini; is being read and you're running PHP as a module, - then be sure to restart your web server after making changes to - &php.ini; + Si le &php.ini; a bien été lu et que vous exécutez &php; comme module, + alors assurez-vous de redémarrer le serveur web après avoir effectué les modifications + à votre &php.ini;. </para> </answer> </qandaentry>
http://cvs.php.net/diff.php/phpdoc-fr/faq/installation.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-fr/faq/installation.xml diff -u phpdoc-fr/faq/installation.xml:1.1 phpdoc-fr/faq/installation.xml:1.2 --- phpdoc-fr/faq/installation.xml:1.1 Wed Jun 2 09:27:33 2004 +++ phpdoc-fr/faq/installation.xml Wed Jun 2 11:27:37 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.27 Maintainer: gui Status: partial --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.28 Maintainer: gui Status: ready --> <chapter id="faq.installation"> <title>Installation</title> <titleabbrev>Installation</titleabbrev> @@ -169,7 +169,7 @@ AddType application/x-httpd-php .php # for PHP 4 ]]> </programlisting> - ... aux propriétés glabales ou aux propriétés du VirtualDomain ou vous + ... aux propriétés globales ou aux propriétés du VirtualDomain ou vous voulez que &php; officie. </para> </answer> @@ -192,101 +192,103 @@ construire des fichiers RPM de &php; 3, lisez ceci... </para> <para> - The RPM packagers are setting up the RPMS to install - without database support to simplify installations <emphasis>and</emphasis> - because RPMS use /usr/ instead of the standard /usr/local/ directory for - files. You need to tell the RPM spec file which databases to support - and the location of the top-level of your database server. - </para> - <para> - This example will explain the process of adding support for the - popular MySQL database server, using the mod installation for Apache. - </para> - <para> - Of course all of this information can be adjusted for any database - server that PHP supports. We will assume you installed MySQL and Apache - completely with RPMS for this example as well. + Les mainteneurs des paquets RPM ont configuré les paquets RPM à s'installer + sans le support des bases de données pour simplifier l'installation + <emphasis>et</emphasis> parceque les paquets RPMs utilise le répertoire + <literal>/usr</literal> au lieu du répertoire standart <literal>/usr/local/</literal> + pour les fichiers. Vous devez spécifier au fichier de spécification du paquet RPM + quelle base de données vous voulez utiliser et quel est chemin complet du serveur + de votre base de données. + </para> + <para> + L'exemple ci-dessou explique la procédure pour ajouter le support + de la base de données populaires, MySQL, en utilisant une installation en module d'Apache. + </para> + <para> + Bien sûr, toutes ces informations peuvent être ajustées pour n'importe + quel serveur de bases de données que &php; supporte. Nous supposerons + que vous avez installer MySQL et Apache complètement avec des paquets RPMs + pour cette exemple. <itemizedlist> <listitem> - <para> - First remove mod_php3 : + <para> + Premièrement, supprimer mod_php3 : <programlisting role="shell"> rpm -e mod_php3 </programlisting> - </para> - </listitem> - <listitem> - <para> - Then get the source rpm and INSTALL it, NOT --rebuild + </para> + </listitem> + <listitem> + <para> + Ensuite, récupérer le paquet RPM et installez-le, SANS --rebuild <programlisting role="shell"> rpm -Uvh mod_php3-3.0.5-2.src.rpm </programlisting> - </para> - </listitem> - <listitem> - <para> - Then edit the <filename>/usr/src/redhat/SPECS/mod_php3.spec</filename> file - </para> - <para> - In the %build section add the database support you want, and the path. - </para> - <para> - For MySQL you would add + </para> + </listitem> + <listitem> + <para> + Ensuite, éditez le fichier <filename>/usr/src/redhat/SPECS/mod_php3.spec</filename> + </para> + <para> + Dans la section %build, ajoutez le support de la base de données désiré ainsi que son chemin. + </para> + <para> + Pour MySQL, vous devez ajouter <programlisting role="shell"> --with-mysql=/usr \ </programlisting> - The %build section will look something like this: + La section %build devrait ressembler à quelque chose comme ceci : <programlisting role="shell"> - ./configure --prefix=/usr \ - --with-apxs=/usr/sbin/apxs \ - --with-config-file-path=/usr/lib \ - --enable-debug=no \ - --enable-safe-mode \ - --with-exec-dir=/usr/bin \ - --with-mysql=/usr \ - --with-system-regex +./configure --prefix=/usr \ +--with-apxs=/usr/sbin/apxs \ +--with-config-file-path=/usr/lib \ +--enable-debug=no \ +--enable-safe-mode \ +--with-exec-dir=/usr/bin \ +--with-mysql=/usr \ +--with-system-regex </programlisting> - </para> - </listitem> - <listitem> - <para> - Once this modification is made then build the binary rpm as follows: + </para> + </listitem> + <listitem> + <para> + Une fois cette modification effectuée, compiler le binaire RPM comme ceci : <programlisting role="shell"> rpm -bb /usr/src/redhat/SPECS/mod_php3.spec </programlisting> - </para> - </listitem> - <listitem> - <para> - Then install the rpm + </para> + </listitem> + <listitem> + <para> + Ensuite, installez le RPM <programlisting role="shell"> rpm -ivh /usr/src/redhat/RPMS/i386/mod_php3-3.0.5-2.i386.rpm </programlisting> - </para> - </listitem> + </para> + </listitem> </itemizedlist> - Make sure you restart Apache, and you now have PHP 3 with MySQL support - using RPM's. Note that it is probably much easier to just build - from the distribution tarball of PHP 3 and follow the instructions in - <filename>INSTALL.REDHAT</filename> found in that distribution. - </para> + Assurez-vous de redémarrer Apache et que vous avez &php; 3 avec le support MySQL + en utilisant le paquet RPMs. Notez qu'il est probablement plus facile de compiler + directement depuis l'archive tarball &php; 3 et de suivre les instructions du fichier + <filename>INSTALL.REDHAT</filename> dans les sources de la distribution. + </para> </answer> </qandaentry> <qandaentry id="faq.installation.frontpage"> <question> <para> - Unix: I patched Apache with the FrontPage extensions patch, and - suddenly PHP stopped working. Is PHP incompatible with the - Apache FrontPage extensions? + Unix : J'ai patché Apache avec l'extension FrontPage et subitement, &php; ne fonctionne plus. + Est-ce que &php; est incompatible avec l'extension FrontPage pour Apache ? </para> </question> <answer> <para> - No, PHP works fine with the FrontPage extensions. The problem - is that the FrontPage patch modifies several Apache structures, - that PHP relies on. Recompiling PHP (using 'make clean ; make') - after the FP patch is applied would solve the problem. + Non, &php; fonctionne très bien avec l'extension FrontPage. Le souci vient du fait que le patch + pour l'installation de FrontPage modifie la structure d'Apache, qui est relié à &php;. + Recompiler &php; (en utilisant 'make clean ; make') après avoir patché Apache avec l'extension + FrontPage devrait résoudre ce problème. </para> </answer> </qandaentry> @@ -294,18 +296,18 @@ <qandaentry id="faq.installation.blankscreen"> <question> <para> - Unix/Windows: I have installed PHP, but when I try to - access a PHP script file via my browser, I get a blank screen. + Unix/Windows : J'ai installé &php;, mais lorsque je tente d'accéder à un fichier contenant un + script &php; via mon navigateur, j'obtiens un écran vide. </para> </question> <answer> <para> - Do a 'view source' in the web browser and you will probably - find that you can see the source code of your PHP script. - This means that the web server did not send the script to - PHP for interpretation. Something is wrong with the server - configuration - double check the server configuration against - the PHP installation instructions. + Affichez le code source du document dans votre navigateur et vous + devriez probablement trouver le code source de votre script &php;. + Celà signifie que le serveur web n'a pas envoyé le script à &php; pour interprétation. + Quelque chose est donc incorrect dans le fichier de configuration de votre serveur web - + re-vérifier la configuration du serveur web en vous référant aux instructions d'installations + de &php;. </para> </answer> </qandaentry> @@ -313,24 +315,21 @@ <qandaentry id="faq.installation.500error"> <question> <para> - Unix/Windows: I have installed PHP, but when try to - access a PHP script file via my browser, I get a - server 500 error. + Unix/Windows : J'ai installé &php;, mais lorsque je tente d'accéder à un fichier contenant un + script &php; via mon navigateur, j'obtiens une erreur de type 'server 500 error'. </para> </question> <answer> <para> - Something went wrong when the server tried to run PHP. To - get to see a sensible error message, from the command line, - change to the directory containing the PHP executable - (<filename>php.exe</filename> on Windows) and run - <literal>php -i</literal>. If PHP has any problems running, - then a suitable error message will be displayed which will - give you a clue as to what needs to be done next. If you - get a screen full of HTML codes (the output of the - <function>phpinfo</function> function) then PHP is working, - and your problem may be related to your server configuration - which you should double check. + Quelque chose se passe mal lorsque le serveur tente d'utiliser &php;. + Pour tenter de récupérer un message d'erreur, depuis la ligne de commande, placez vous + dans le répertoire contenant l'exécutable &php; (<filename>php.exe</filename> sous + Windows) et exécutez la commande <literal>php -i</literal>. + Si &php; a un problème quelconque l'empéchant de fonctionner, un message d'erreur + devrait s'afficher qui devrait expliquer comment résoudre ce souci. Si un + écran de code HTML apparait (la sortie de la fonction <function>phpinfo</function>), + celà signifie que &php; fonctionne correctement et que le problème doit certainement venir + de la configuration de votre serveur web que vous devriez re-vérifier. </para> </answer> </qandaentry> @@ -338,8 +337,9 @@ <qandaentry id="faq.installation.undefinedsyms"> <question> <para> - Some operating systems: I have installed PHP without errors, - but when I try to start apache I get undefined symbol errors: + Quelques systèmes d'exploitations : J'ai installé &php; sans erreur, mais lorsque + je tente de démarrer Apache, j'otiens une erreur du type + '<literal>Undefined symbols</literal>' : <programlisting role="shell"> [mybox:user /src/php4] root# apachectl configtest apachectl: /usr/local/apache/bin/httpd Undefined symbols: @@ -350,9 +350,9 @@ </question> <answer> <para> - This has actually nothing to do with PHP, but with the MySQL - client libraries. Some need --with-zlib, others do not. This - is also covered in the MySQL FAQ. + Celà n'a actuellement rien à voir avec &php; mais avec la librairie cliente MySQL. + Suivant les versions, elle a besoin que &php; soit compiler avec l'option + --with-zlib, d'autre non. Ce problème est égaement traité dans la FAQ de MySQL. </para> </answer> </qandaentry> @@ -360,8 +360,8 @@ <qandaentry id="faq.installation.cgierror"> <question> <para> - Windows: I have installed PHP, but when I to access - a PHP script file via my browser, I get the error: + Windows : J'ai installé &php;, mais lorsque j'accède à un fichier contenant un script &php; + via mon navigateur, j'obtiens l'erreur : <screen> cgi error: The specified CGI application misbehaved by not @@ -372,42 +372,38 @@ </question> <answer> <para> - This error message means that PHP failed to output anything - at all. To get to see a sensible error message, from the - command line, change to the directory containing the PHP - executable (<filename>php.exe</filename> on Windows) and run - <literal>php -i</literal>. If PHP has any problems running, - then a suitable error message will be displayed which will - give you a clue as to what needs to be done next. If you - get a screen full of HTML codes (the output of the - <function>phpinfo</function> function) then PHP is working. + Ce message d'erreur signifie que &php; a échoué lors de l'affichage. + Pour tenter de récupérer un message d'erreur, depuis la ligne de commande, + placez-vous dans le répertoire contenant l'exécutable &php; + (<filename>php.exe</filename> sous Windows) et exécutez la commande + <literal>php -i</literal>. Si &php; a un quelconque souci de fonctionnement, alors un message + d'erreur le décrivant s'affichera. Si vous obtenez un écran de code HTML (le contenu + du résultat de la fonction <function>phpinfo</function>), alors &php; fonctionne + correctement. </para> <para> - Once PHP is working at the command line, try accessing the - script via the browser again. If it still fails then it - could be one of the following: + Si &php; fonctionne depuis la ligne de commane, tentez d'accéder à votre script encore une fois + via votre navigateur. Si il échoue toujours, alors, il se peut que ce soit l'un des soucis + suivants : </para> <itemizedlist> <listitem> <simpara> - File permissions on your PHP script, - <filename>php.exe</filename>, <filename>php4ts.dll</filename>, - &php.ini; or any PHP extensions you are trying to load are such - that the anonymous internet user - <literal>ISUR_<machinename></literal> cannot access them. + Les permissions de votre script &php; des fichiers <filename>php.exe</filename>, + <filename>php4ts.dll</filename>, &php.ini; ou de toute extension nécessaire à &php; + que vous tentez de charger, sont telles que l'utilisateur internet anonyme de votre système + <literal>ISUR_<machinename></literal> ne peut pas y accéder. </simpara> </listitem> <listitem> <simpara> - The script file does not exist (or possibly isn't where you - think it is relative to your web root directory). Note that - for IIS you can trap this error by ticking the 'check file - exists' box when setting up the script mappings in the - Internet Services Manager. If a script file does not exist - then the server will return a 404 error instead. There is - also the additional benefit that IIS will do any - authentication required for you based on the NTLanMan - permissions on your script file. + le script &php; n'existe pas (ou n'est pas à l'endroit que vous pensez, relativement au + répertoire racine de votre serveur web). Notez que pour le serveur web IIS, vous pouvez + vérifier celà en cochant la case 'vérifier si le fichier existe' lors de la configuration + de l'exécution des scripts dans le gestionnaire de services Internet. Si un fichier de script + n'existe pas, le serveur web retournera une erreur 404. IIS a également + l'avantage d'effectuer tous les identifications requises à votre place, + basés sur les permissions NTLanMan, sur votre fichier de script. </simpara> </listitem> </itemizedlist> @@ -417,20 +413,20 @@ <qandaentry id="faq.installation.phpandiis"> <question> <para> - Windows: I've followed all the instructions, but still can't - get PHP and IIS to work together! + Windows : J'ai suivi toutes les instructions, mais je n'arrive toujours pas à faire fonctionner + &php; et IIS ensemble ! </para> </question> <answer> <para> - Make sure any user who needs to run a PHP script has the rights - to run <filename>php.exe</filename>! IIS uses an anonymous user - which is added at the time IIS is installed. This user needs - rights to <filename>php.exe</filename>. Also, any authenticated - user will also need rights to execute <filename>php.exe</filename>. - And for IIS4 you need to tell it that PHP is a script engine. - Also, you will want to read - <link linkend="faq.installation.forceredirect">this faq</link>. + Assurez-vous que chaque utilisateur qui a besoin d'exécuter un script &php; + possède les droits requis pour exécuter le fichier <filename>php.exe</filename> ! + IIS utilise un utilisateur anonyme qui est ajouté lors de l'installation de IIS. + Cette utilisateur doit avoir les droits suffisant sur le fichier + <filename>php.exe</filename>. De même, tous les utilisateurs enregistrés doivent + posséder les droits requis pour exécuter le fichier <filename>php.exe</filename>. + Pour IIS4, vous devez lui dire que &php; est un moteur de script. + De plus, vous devriez lire cette <link linkend="faq.installation.forceredirect">FAQ</link>. </para> </answer> </qandaentry> @@ -438,24 +434,22 @@ <qandaentry id="faq.installation.forceredirect"> <question> <para> - When running PHP as CGI with IIS, PWS, OmniHTTPD or Xitami, - I get the following error: <literal>Security Alert! PHP CGI + Lorsque vous exécutez &php; comme CGI avec IIS, PWS, OmniHTTPD ou Xitami, + j'obtiens l'erreur suivante : <literal>Security Alert! PHP CGI cannot be accessed directly.</literal>. </para> </question> <answer> <para> - You must set the <link linkend="ini.cgi.force-redirect"> - cgi.force_redirect</link> directive to <literal>0</literal>. - It defaults to <literal>1</literal> so be sure the directive - isn't commented out (with a <literal>;</literal>). Like - all directives, this is set in &php.ini; + Vous devez définir la directive <link linkend="ini.cgi.force-redirect"> + cgi.force_redirect</link> à &zero;. Par défaut, elle vaut &one;, donc, soyez sûr + que cette directive n'est pas commentée (précédé d'un point virgule). Comme toutes les + directives, elles sont définies dans le &php.ini;. </para> <para> - Because the default is <literal>1</literal>, it's critical - that you're 100% sure that the correct &php.ini; file is being - read. Read <link linkend="faq.installation.findphpini">this faq</link> - for details. + Parceque la valeur par défaut vaut &one;, il est critique que vous soyez sûr à 100% que le + bon fichier &php.ini; a été lu. + Lisez cette <link linkend="faq.installation.findphpini">FAQ</link> pour plus de détails. </para> </answer> </qandaentry> @@ -463,25 +457,24 @@ <qandaentry id="faq.installation.findphpini"> <question> <para> - How do I know if my &php.ini; is being found and read? It - seems like it isn't as my changes aren't being implemented. + Comment puis-je savoir si mon &php.ini; a bien été trouvé et lu ? + Celà semble être le cas mais aucun de mes changements n'ont eu d'effets. </para> </question> <answer> <para> - To be sure your &php.ini; is being read by PHP, make a call to - <function>phpinfo</function> and near the top will be a - listing called <literal>Configuration File (php.ini)</literal>. - This will tell you where PHP is looking for &php.ini; and - whether or not it's being read. If just a directory PATH exists - than it's not being read and you should put your &php.ini; - in that directory. If &php.ini; is included within the PATH than - it is being read. + Pour être sûr que votre &php.ini; a été lu par &php;, effectuez un appel à la fonction + <function>phpinfo</function> et vers le haut du document résultant, il devrait figurer + une liste appelée <literal>Configuration File (php.ini)</literal>. + Celà vous indiquera où &php; a cherché le &php.ini; et si oui ou non il l'a lu. + Si il n'apparait qu'un chemin vers un répertoire existant, celà signifie que + vous devez copier votre &php.ini; dans ce répertoire. Si le &php.ini; est présent dans le chemin, + celà signifie qu'il a bien été lu. </para> <para> - If &php.ini; is being read and you're running PHP as a module, - then be sure to restart your web server after making changes to - &php.ini; + Si le &php.ini; a bien été lu et que vous exécutez &php; comme module, + alors assurez-vous de redémarrer le serveur web après avoir effectué les modifications + à votre &php.ini;. </para> </answer> </qandaentry>