bagilevi Wed Aug 18 11:56:40 2004 EDT
Modified files:
/phpdoc/en/install/macos client.xml index.xml packages.xml
server.xml
Log:
recover mistake
http://cvs.php.net/diff.php/phpdoc/en/install/macos/client.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/install/macos/client.xml
diff -u phpdoc/en/install/macos/client.xml:1.5 phpdoc/en/install/macos/client.xml:1.6
--- phpdoc/en/install/macos/client.xml:1.5 Wed Aug 18 11:33:13 2004
+++ phpdoc/en/install/macos/client.xml Wed Aug 18 11:56:40 2004
@@ -1,83 +1,79 @@
-<?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.4 Maintainer: bagilevi Status: ready -->
-<!-- CREDITS: goba,gerzson -->
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- $Revision: 1.6 $ -->
<sect1 id="install.macosx.client">
- <title>Ford�t�s MacOS X kliensre</title>
+ <title>Compiling for MacOS X Client</title>
<!-- TODO: verify these instructions (the wget URL below does not seem to work for
me)
Goba - June 04. 2004. -->
<simpara>
- A k�vetkez� �tmutat� seg�ts�gedre lesz abban, hogy a PHP-t modulk�nt
- telep�tsd a MacOS X-ben jelenl�v� Apache webszerverhez. Ez a verzi�
- t�mogatja a MySQL �s a PostgreSQL adatb�ziskezel� rendszereket.
- Ezeket a tippeket <ulink url="&url.macosx;">Marc Liyanage</ulink>
- adta sz�vesen k�zre..
+ The following instructions will help you install a PHP module for the Apache
+ web server included in MacOS X. This version includes support for the MySQL
+ and PostgreSQL databases. These instructions are graciously provided by
+ <ulink url="&url.macosx;">Marc Liyanage</ulink>.
</simpara>
<warning>
<para>
- L�gy k�r�ltekint� az al�bbiakban, mert t�nkreteheted az Apache szerveredet!
+ Be careful when you do this, you could screw up your Apache web server!
</para>
</warning>
<para>
- Telep�t�shez az al�bbiakat kell tenni:
+ Do this to install:
<orderedlist>
<listitem>
<simpara>
- Nyiss egy termin�l ablakot.
+ Open a terminal window.
</simpara>
</listitem>
<listitem>
<simpara>
- �rd be:
+ Type
<userinput>wget
http://www.diax.ch/users/liyanage/software/macosx/libphp4.so.gz</userinput>,
- �s v�rd meg, am�g let�lt�dik.
+ wait for the download to finish.
</simpara>
</listitem>
<listitem>
<simpara>
- �rd be: <userinput>gunzip libphp4.so.gz</userinput>.
+ Type <userinput>gunzip libphp4.so.gz</userinput>.
</simpara>
</listitem>
<listitem>
<simpara>
- �rd be: <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>
- Most �rd be, hogy: <userinput>sudo open -a TextEdit
- /etc/httpd/httpd.conf</userinput>.
- TextEdit megnyitja a webszerver konfigur�ci�s f�jlj�t. Keresd meg a
- k�vetkez� k�t sort a f�jl v�ge fel� (haszn�ld a Find parancsot):
+ 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>
- T�r�ld ki a k�t hashmark-ot (<literal>#</literal>), �s ezut�n mentsd
- el a f�jlt, l�pj ki a TextEdit-b�l.
+ Remove the two hash marks (<literal>#</literal>), then save the file and
+ quit TextEdit.
</para>
</listitem>
<listitem>
<simpara>
- V�g�l �rd be: <userinput>sudo apachectl graceful</userinput> hogy
- �jrainduljon a webszerver.
+ Finally, type <userinput>sudo apachectl graceful</userinput> to restart
+ the web server.
</simpara>
</listitem>
</orderedlist>
</para>
<para>
- Mostant�l a PHP-nak futni kell. Ezt ellen�rizheted, ha a
- <filename class="directory">Sites</filename> k�nyvt�radba bem�solod a
- <filename>test.php</filename> f�jlt, amiben nincs m�s csak ez a sor:
+ 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>.
</para>
<para>
- Most nyisd meg a <literal>127.0.0.1/~a_sajat_userneved/test.php</literal>
- c�men lev� oldalt a webb�ng�sz�dben. A PHP modul inform�ci�s t�bl�zatait
- kell l�tnod ezen az oldalon.
+ 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>
http://cvs.php.net/diff.php/phpdoc/en/install/macos/index.xml?r1=1.6&r2=1.7&ty=u
Index: phpdoc/en/install/macos/index.xml
diff -u phpdoc/en/install/macos/index.xml:1.6 phpdoc/en/install/macos/index.xml:1.7
--- phpdoc/en/install/macos/index.xml:1.6 Wed Aug 18 11:33:13 2004
+++ phpdoc/en/install/macos/index.xml Wed Aug 18 11:56:40 2004
@@ -1,14 +1,13 @@
-<?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.5 Maintainer: bagilevi Status: ready -->
-<!-- CREDITS: goba,gerzson -->
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- $Revision: 1.7 $ -->
<chapter id="install.macosx">
- <title>Telep�t�s Mac OS X rendszerre</title>
+ <title>Installation on Mac OS X</title>
<para>
- Ez a fejezet a PHP Mac OS X rendszerre t�rt�n� telep�t�s�nek
- dokument�ci�j�t tartalmazza. A Mac OS X rendszernek k�t n�mileg
- elt�r� v�ltozata van, a kliens �s szerver. K�zik�nyv�nk mindk�t
- rendszerhez tartalmaz telep�t�si �tmutat�t. A PHP nem futtathat�
- a MacOS 9 vagy kor�bbi verzi�kon.
+ This section contains notes and hints specific to installing
+ PHP on Mac OS X. There are two slightly different versions of
+ Mac OS X, Client and Server, our manual deals with installing
+ PHP on both systems. Note that PHP is not available for MacOS
+ 9 and earlier versions.
</para>
&install.macos.packages;
&install.macos.server;
http://cvs.php.net/diff.php/phpdoc/en/install/macos/packages.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/install/macos/packages.xml
diff -u phpdoc/en/install/macos/packages.xml:1.5
phpdoc/en/install/macos/packages.xml:1.6
--- phpdoc/en/install/macos/packages.xml:1.5 Wed Aug 18 11:33:13 2004
+++ phpdoc/en/install/macos/packages.xml Wed Aug 18 11:56:40 2004
@@ -1,16 +1,16 @@
-<?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.4 Maintainer: bagilevi Status: ready -->
-<!-- CREDITS: goba,gerzson -->
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- $Revision: 1.6 $ -->
<sect1 id="install.macosx.packages">
- <title>Csomagok haszn�lata</title>
+ <title>Using Packages</title>
<simpara>
- Rendelkez�sre �ll n�h�ny el�re-csomagolt �s el�re-ford�tott PHP v�ltozat
- a Mac OS X rendszerekre. Ez sokat tud seg�teni egy �ltal�nos telep�t�s
- elv�gz�s�ben, de ha m�s funkci�kra is v�gysz (p�ld�ul biztons�gos szerver
- funkci�kra, vagy m�s adatb�zis t�mogat�s�ra), el�fordulhat, hogy m�gis
- magadnak kell ford�tanod a PHP-t �s/vagy a szervert. Ha nem vagy
- tapasztalt az �n�ll� ford�t�sban, meg�ri ut�nan�zni, hogy elk�sz�tette-e
- m�r valaki m�s azt a csomagot, ami a k�v�nt funkci�kkal rendelkezik.
+ 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.
</simpara>
<!-- TODO: list some packages here, if possible -->
http://cvs.php.net/diff.php/phpdoc/en/install/macos/server.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/install/macos/server.xml
diff -u phpdoc/en/install/macos/server.xml:1.5 phpdoc/en/install/macos/server.xml:1.6
--- phpdoc/en/install/macos/server.xml:1.5 Wed Aug 18 11:33:13 2004
+++ phpdoc/en/install/macos/server.xml Wed Aug 18 11:56:40 2004
@@ -1,20 +1,19 @@
-<?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.4 Maintainer: bagilevi Status: ready -->
-<!-- CREDITS: goba,gerzson -->
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- $Revision: 1.6 $ -->
<sect1 id="install.macosx.server">
- <title>Ford�t�s OS X szerveren</title>
+ <title>Compiling for OS X Server</title>
<formalpara id="install.macosx.server.compile">
- <title>Mac OS X szerver telep�t�s</title>
+ <title>Mac OS X Server install</title>
<para>
<orderedlist>
<listitem>
- <simpara>T�ltsd le az Apache �s PHP legfrissebb v�ltozatait</simpara>
+ <simpara>Get the latest distributions of Apache and PHP.</simpara>
</listitem>
<listitem>
<para>
- T�m�r�tsd ki ezeket, �s futtasd a <command>configure</command>
- programot az Apache-ra:
+ Untar them, and run the <command>configure</command> program on Apache
+ like so.
<programlisting role="shell">
<![CDATA[
./configure --exec-prefix=/usr \
@@ -32,8 +31,8 @@
</listitem>
<listitem>
<para>
- Ha szeretn�d, hogy a ford�t� v�gezzen optimiz�ci�t, add hozz� a
- k�vetkez� sort is:
+ If you want the compiler to do some optimization, you may also want to
+ add this line:
<programlisting role="shell">
<![CDATA[
setenv OPTIM=-O2
@@ -43,7 +42,7 @@
</listitem>
<listitem>
<para>
- L�pj be a PHP 4 forr�s k�nyvt�r�ba, �s futtasd a configure programot:
+ Next, go to the PHP 4 source directory and configure it.
<programlisting role="shell">
<![CDATA[
./configure --prefix=/usr \
@@ -54,25 +53,22 @@
--with-apache=/src/apache_1.3.12
]]>
</programlisting>
- Ha b�rmilyen m�s kiterjeszt�st szeretn�l (MySQL, GD, stb.),
- szerepeltesd a megfelel� param�tereket itt. A
- <option role="configure">--with-apache</option> param�ternek az
- Apache forr�sk�nyvt�r�t add meg, p�ld�ul
+ 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
<filename class="directory">/src/apache_1.3.12</filename>.
</para>
</listitem>
<listitem>
<simpara>
- Add ki a <command>make</command>, majd a <command>make install</command>
- parancsokat. Ez l�tre fog hozni egy k�nyvt�rat az Apache
- forr�sk�nyvt�r�ban az
- <filename class="directory">src/modules/php4</filename> alatt.
+ Type <command>make</command> and <command>make install</command>. This
+ will add a directory to your Apache source directory under
+ <filename class="directory">src/modules/php4</filename>.
</simpara>
</listitem>
<listitem>
<para>
- Most �jra futtatnod kell a configure-t az Apache-ra,
- hogy be�p�tsd a PHP 4-et:
+ Now, reconfigure Apache to build in PHP 4.
<programlisting role="shell">
<![CDATA[
./configure --exec-prefix=/usr \
@@ -87,24 +83,22 @@
--activate-module=src/modules/php4/libphp4.a
]]>
</programlisting>
- Itt kaphatsz egy �zenetet, ami azt �ll�tja, hogy a
- <filename>libmodphp4.a</filename> elvault. Ha ez t�rt�nik, menj
- a <filename class="directory">src/modules/php4</filename>
- k�nyvt�rba, az Apache forr�sk�nyvt�r alatt, �s hajtsd v�gre ezt:
- <command>ranlib libmodphp4.a</command>. Azt�n l�pj vissza az Apache
- forr�sk�nyvt�r gy�ker�be, �s ism�t futtasd az el�z�
- <command>configure</command> parancssort. Ez aktualiz�lja
- a link t�bl�t. Add ki �jra a <command>make</command> �s a
- <command>make install</command> parancsokat.
+ You may get a message telling you that <filename>libmodphp4.a</filename> 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.
</para>
</listitem>
<listitem>
<simpara>
- M�sold, �s nevezd �t a <filename>php.ini-dist</filename> �llom�nyt a
- <filename class="directory">bin</filename> k�nyvt�rba a PHP 4
- forr�sk�nyvt�rb�l:
+ Copy and rename the <filename>php.ini-dist</filename> file to your
+ <filename class="directory">bin</filename> directory from your PHP 4
+ source directory:
<userinput>cp php.ini-dist /usr/local/bin/php.ini</userinput>
- vagy (ha nincs local k�nyvt�rad)
+ or (if your don't have a local directory)
<userinput>cp php.ini-dist /usr/bin/php.ini</userinput>.
</simpara>
</listitem>