cvs: phpdoc /en/install/macos client.xml

From: Date: Thu, 03 Jun 2004 23:44:55 +0000
Subject: cvs: phpdoc /en/install/macos client.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969361159@lists.php.net to get a copy of this message
gui Thu Jun 3 19:44:55 2004 EDT Modified files: /phpdoc/en/install/macos client.xml Log: reverting the yannick's mistake http://cvs.php.net/diff.php/phpdoc/en/install/macos/client.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc/en/install/macos/client.xml diff -u phpdoc/en/install/macos/client.xml:1.2 phpdoc/en/install/macos/client.xml:1.3 --- phpdoc/en/install/macos/client.xml:1.2 Thu Jun 3 19:29:10 2004 +++ phpdoc/en/install/macos/client.xml Thu Jun 3 19:44:55 2004 @@ -1,77 +1,74 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> <sect1 id="install.macosx.client"> - <title>Compilation pour les clients MacOs</title> + <title>Compiling for MacOS X client</title> <simpara> - Ces conseils proviennent gracieusement de <ulink url="&url.macosx;">Marc Liyanage</ulink>. + Those tips are graciously provided by <ulink url="&url.macosx;">Marc Liyanage</ulink>. </simpara> <simpara> - 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. + The PHP module for the Apache web server included in Mac OS X. + This version includes support for the MySQL and PostgreSQL databases. </simpara> <simpara> - Note : Soyez prudent lorsque vous faîtes celà, vous risquez de détruire la - configuration de votre serveur web Apache! + NOTE: Be careful when you do this, you could screw up your Apache web server! </simpara> <para> - Faîtes ceci pour l'installation : + Do this to install: <orderedlist> <listitem> <simpara> - Ouvrez une fenêtre de terminal + Open a terminal window. </simpara> </listitem> <listitem> <simpara> - Tapez "<userinput>wget http://www.diax.ch/users/liyanage/software/macosx/libphp4.so.gz</userinput>", - et attendez la fin du téléchargement. + Type + <userinput>wget http://www.diax.ch/users/liyanage/software/macosx/libphp4.so.gz</userinput>, + wait for the download to finish. </simpara> </listitem> <listitem> <simpara> - Tapez <userinput>gunzip libphp4.so.gz</userinput>. + Type <userinput>gunzip libphp4.so.gz</userinput>. </simpara> </listitem> <listitem> <simpara> - Tapez <userinput>sudo apxs -i -a -n php4 libphp4.so</userinput> + Type <userinput>sudo apxs -i -a -n php4 libphp4.so</userinput> </simpara> </listitem> <listitem> <para> - 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) : + 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) <programlisting role="apache"> <![CDATA[ #AddType application/x-httpd-php .php #AddType application/x-httpd-php-source .phps ]]> </programlisting> - Supprimez les deux signes dièse (<literal>#</literal>), puis sauvez le fichier, - et quittez TextEdit. + Remove the two hash marks (<literal>#</literal>), then save the file and + quit TextEdit. </para> </listitem> <listitem> <simpara> - Finalement, tapez "<userinput>sudo apachectl graceful</userinput>" pour redémarrer le - serveur Apache. + Finally, type <userinput>sudo apachectl graceful</userinput> to restart + the web server. </simpara> </listitem> </orderedlist> </para> <para> - &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>&lt;?php phpinfo() ?&gt;</literal>". + 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>&lt;?php phpinfo() ?&gt;</literal>. </para> <para> - 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>. + 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. </para> </sect1>

« previous php.doc (#969361159) next »