yannick Thu Jun 3 19:29:11 2004 EDT
Modified files:
/phpdoc/en/install/macos client.xml index.xml packages.xml
server.xml
Log:
split from chapters's directory
http://cvs.php.net/diff.php/phpdoc/en/install/macos/client.xml?r1=1.1&r2=1.2&ty=u
Index: phpdoc/en/install/macos/client.xml
diff -u phpdoc/en/install/macos/client.xml:1.1 phpdoc/en/install/macos/client.xml:1.2
--- phpdoc/en/install/macos/client.xml:1.1 Thu Jun 3 18:45:11 2004
+++ phpdoc/en/install/macos/client.xml Thu Jun 3 19:29:10 2004
@@ -1,74 +1,77 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready -->
<sect1 id="install.macosx.client">
- <title>Compiling for MacOS X client</title>
+ <title>Compilation pour les clients MacOs</title>
<simpara>
- Those tips are graciously provided by <ulink url="&url.macosx;">Marc
Liyanage</ulink>.
+ Ces conseils proviennent gracieusement de <ulink url="&url.macosx;">Marc
Liyanage</ulink>.
</simpara>
<simpara>
- The PHP module for the Apache web server included in Mac OS X.
- This version includes support for the MySQL and PostgreSQL databases.
+ Le module &php; pour les serveurs web Apache inclut dans Mac OS X.
+ Cette version inclut le support pour les bases de donn�es MySQL et PostgreSQL.
</simpara>
<simpara>
- NOTE: Be careful when you do this, you could screw up your Apache web server!
+ Note : Soyez prudent lorsque vous fa�tes cel�, vous risquez de d�truire la
+ configuration de votre serveur web Apache!
</simpara>
<para>
- Do this to install:
+ Fa�tes ceci pour l'installation :
<orderedlist>
<listitem>
<simpara>
- Open a terminal window.
+ Ouvrez une fen�tre de terminal
</simpara>
</listitem>
<listitem>
<simpara>
- Type
- <userinput>wget
http://www.diax.ch/users/liyanage/software/macosx/libphp4.so.gz</userinput>,
- wait for the download to finish.
+ Tapez "<userinput>wget
http://www.diax.ch/users/liyanage/software/macosx/libphp4.so.gz</userinput>",
+ et attendez la fin du t�l�chargement.
</simpara>
</listitem>
<listitem>
<simpara>
- Type <userinput>gunzip libphp4.so.gz</userinput>.
+ Tapez <userinput>gunzip libphp4.so.gz</userinput>.
</simpara>
</listitem>
<listitem>
<simpara>
- Type <userinput>sudo apxs -i -a -n php4 libphp4.so</userinput>
+ Tapez <userinput>sudo apxs -i -a -n php4 libphp4.so</userinput>
</simpara>
</listitem>
<listitem>
<para>
- Now type <userinput>sudo open -a TextEdit /etc/httpd/httpd.conf</userinput>.
- TextEdit will open with the web server configuration file. Locate these
- two lines towards the end of the file: (Use the Find command)
+ Maintenant, tapez "<userinput>sudo open -a TextEdit
/etc/httpd/httpd.conf</userinput>"
+ TextEdit va ouvrir le fichier de configuration de votre serveur web.
+ Recherchez les deux lignes suivantes, � la fin du fichier (utilisez
+ la commande de recherche) :
<programlisting role="apache">
<![CDATA[
#AddType application/x-httpd-php .php
#AddType application/x-httpd-php-source .phps
]]>
</programlisting>
- Remove the two hash marks (<literal>#</literal>), then save the file and
- quit TextEdit.
+ Supprimez les deux signes di�se (<literal>#</literal>), puis sauvez le fichier,
+ et quittez TextEdit.
</para>
</listitem>
<listitem>
<simpara>
- Finally, type <userinput>sudo apachectl graceful</userinput> to restart
- the web server.
+ Finalement, tapez "<userinput>sudo apachectl graceful</userinput>" pour
red�marrer le
+ serveur Apache.
</simpara>
</listitem>
</orderedlist>
</para>
<para>
- PHP should now be up and running. You can test it by dropping a file into
- your <filename class="directory">Sites</filename> folder which is called
- <filename>test.php</filename>. Into that file, write this line:
- <literal><?php phpinfo() ?></literal>.
+ &php; devrait �tre fonctionnel. Vous pouvez le tester en cr�ant un fichier dans
+ votre dossier "<filename class="directory">Sites</filename>",
+ appel� "<filename>test.php</filename>". Dans ce fichier, �crivez la ligne
+ ci-contre : "<literal><?php phpinfo() ?></literal>".
</para>
<para>
- Now open up <literal>127.0.0.1/~your_username/test.php</literal> in your web
- browser. You should see a status table with information about the PHP module.
+ Maintenant, ouvrez votre navigateur � l'adresse suivante :
+ <literal>127.0.0.1/~your_username/test.php</literal>. Vous devriez
+ obtenir la page d'information de <literal>phpinfo</literal>.
</para>
</sect1>
http://cvs.php.net/diff.php/phpdoc/en/install/macos/index.xml?r1=1.1&r2=1.2&ty=u
Index: phpdoc/en/install/macos/index.xml
diff -u phpdoc/en/install/macos/index.xml:1.1 phpdoc/en/install/macos/index.xml:1.2
--- phpdoc/en/install/macos/index.xml:1.1 Thu Jun 3 18:45:11 2004
+++ phpdoc/en/install/macos/index.xml Thu Jun 3 19:29:10 2004
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.1 Maintainer: dams Status: ready -->
<chapter id="install.macosx">
- <title>Installation on Mac OS X</title>
+ <title>Installation sur un syst�me Mac OS X</title>
<para>
- This section contains notes and hints specific to installing
- PHP on Mac OS X.
+ Cette section contient les notes et conseils pour installer &php; sur un
+ syst�me Mac OS X.
</para>
&install.macosx.packages;
&install.macosx.server;
http://cvs.php.net/diff.php/phpdoc/en/install/macos/packages.xml?r1=1.1&r2=1.2&ty=u
Index: phpdoc/en/install/macos/packages.xml
diff -u phpdoc/en/install/macos/packages.xml:1.1
phpdoc/en/install/macos/packages.xml:1.2
--- phpdoc/en/install/macos/packages.xml:1.1 Thu Jun 3 18:45:11 2004
+++ phpdoc/en/install/macos/packages.xml Thu Jun 3 19:29:10 2004
@@ -1,16 +1,17 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.1 Maintainer: dams Status: ready -->
<sect1 id="install.macosx.packages">
- <title>Using Packages</title>
+ <title>Utilisation des paquets</title>
<simpara>
- There are a few pre-packaged and pre-compiled versions of PHP for
- Mac OS X. This can help in setting up a standard
- configuration, but if you need to have a different set of features
- (such as a secure server, or a different database driver), you may
- need to build PHP and/or your web server yourself. If you are unfamiliar
- with building and compiling your own software, it's worth
- checking whether somebody has already built a packaged
- version of PHP with the features you need.
+ Il existe quelques versions pr�-packag�es et pr�-compil�es
+ de &php; pour Mac OS X. Cela peut �tre utile pour mettre en place une configuration
+ standard, mais si vous avez besoin d'acc�der � des fonctionnalit�s
+ sp�cifiques (comme un serveur s�curis�, ou un pilote de bases de donn�es
+ exotiques), vous aurez � compiler &php; et/ou votre serveur web vous-m�me.
+ Si vous n'�tes pas familiers avec la compilation et la mise en place
+ d'applications, il est bon de v�rifier si personne d'autre n'a
+ r�alis� un paquet contenant les fonctionnalit�s que vous d�sirez.
</simpara>
</sect1>
http://cvs.php.net/diff.php/phpdoc/en/install/macos/server.xml?r1=1.1&r2=1.2&ty=u
Index: phpdoc/en/install/macos/server.xml
diff -u phpdoc/en/install/macos/server.xml:1.1 phpdoc/en/install/macos/server.xml:1.2
--- phpdoc/en/install/macos/server.xml:1.1 Thu Jun 3 18:45:11 2004
+++ phpdoc/en/install/macos/server.xml Thu Jun 3 19:29:10 2004
@@ -1,22 +1,23 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready -->
<sect1 id="install.macosx.server">
- <title>Compiling for OS X Server</title>
+ <title>Compilation pour les serveur OS X</title>
<simpara>
- There are two slightly different versions of Mac OS X, client and
- server. The following is for OS X Server.
+ Il existe deux versions l�g�rement diff�rentes de Mac OS X, le
+ client et le serveur. Les lignes ci-dessous sont pour OS X Server.
</simpara>
<formalpara id="install.macosx.compile.example">
- <title>Mac OS X server install</title>
+ <title>Installation d'un servuer Mac OS X</title>
<para>
<orderedlist>
<listitem>
- <simpara>Get the latest distributions of Apache and PHP.</simpara>
+ <simpara>T�l�chargez les derni�res distributions d'Apache et &php;.</simpara>
</listitem>
<listitem>
<para>
- Untar them, and run the <command>configure</command> program on Apache
- like so.
+ D�compressez les, et utilisez le script <command>configure</command> sur
+ Apache, comme ceci.
<programlisting role="shell">
<![CDATA[
./configure --exec-prefix=/usr \
@@ -34,8 +35,8 @@
</listitem>
<listitem>
<para>
- If you want the compiler to do some optimization., you may also want to
- add this line:
+ Si vous voulez que le compilateur fasse certaines optimisations,
+ ajoutez cette ligne :
<programlisting role="shell">
<![CDATA[
setenv OPTIM=-O2
@@ -45,7 +46,7 @@
</listitem>
<listitem>
<para>
- Next, go to the PHP 4 source directory and configure it.
+ Puis, alles dans le dossier &php; 4, et configurez &php;.
<programlisting role="shell">
<![CDATA[
./configure --prefix=/usr \
@@ -56,22 +57,23 @@
--with-apache=/src/apache_1.3.12
]]>
</programlisting>
- If you have any other additions (MySQL, GD, etc.), be sure to add them
- here. For the <option role="configure">--with-apache</option> string, put
- in the path to your apache source directory, for example
+ SI vous avez d'autres extensions � ajouter (MySQL, GD, etc.), assurez vous de
placer
+ les bonnes options ici. Pour la cha�ne
+ <option role="configure">--with-apache</option>, ajoutez le chemin de
+ votre distribution source apache, par exemple,
<filename class="directory">/src/apache_1.3.12</filename>.
</para>
</listitem>
<listitem>
<simpara>
- Type <command>make</command> and <command>make install</command>. This
- will add a directory to your Apache source directory under
+ Tapez <command>make</command> puis <command>make install</command>. Cela
+ va ajouter un dossier � votre distribution Apache, sous
<filename class="directory">src/modules/php4</filename>.
</simpara>
</listitem>
<listitem>
<para>
- Now, reconfigure Apache to build in PHP 4.
+ Maintenant, reconfigurez Apache pour compiler &php; 4.
<programlisting role="shell">
<![CDATA[
./configure --exec-prefix=/usr \
@@ -86,22 +88,22 @@
--activate-module=src/modules/php4/libphp4.a
]]>
</programlisting>
- You may get a message telling you that libmodphp4.a is out of date. If
- so, go to the <filename class="directory">src/modules/php4</filename>
- directory inside your apache source directory and run this command:
- <command>ranlib libmodphp4.a</command>. Then go back to the root of the
- apache source directory and run the above <command>configure</command>
- command again. That'll bring the link table up to date. Run
- <command>make</command> and <command>make install</command> again.
+ Vous pouvez recevoir un message qui vous dit que
<filename>libmodphp4.a</filename>
+ est trop ancien. Si c'est le cas, allez dans le dossier
+ <filename class="directory">src/modules/php4</filename>
+ de votre distribution Apache, et utilisez cette commande :
+ <command>ranlib libmodphp4.a</command>. Puis retournez � la racine de la
+ distribution Apache, et lancez la commande <command>configure</command>
+ ci-dessus. Cela aura mis la table de liens � jour. Lancez � nouveau
+ <command>make</command> et <command>make install</command>.
</para>
</listitem>
<listitem>
<simpara>
- Copy and rename the <filename>php.ini-dist</filename> file to your
- <filename class="directory">bin</filename> directory from your PHP 4
- source directory:
+ Copiez et renommez le fichier <filename>php.ini-dist</filename> dans votre
+ dossier <filename class="directory">bin</filename> de votre dossier &php; :
<userinput>cp php.ini-dist /usr/local/bin/php.ini</userinput>
- or (if your don't have a local directory)
+ ou, si vous n'avez pas de dossier local :
<userinput>cp php.ini-dist /usr/bin/php.ini</userinput>.
</simpara>
</listitem>