cvs: phpdoc-hu /install/unix apache1.xml

From: Date: Sat, 07 Aug 2004 21:42:13 +0000
Subject: cvs: phpdoc-hu /install/unix apache1.xml
Groups: php.doc.hu 
Request: Send a blank email to doc-hu+get-951@lists.php.net to get a copy of this message
bagilevi Sat Aug 7 17:42:13 2004 EDT Modified files: /phpdoc-hu/install/unix apache1.xml Log: translation finished

http://cvs.php.net/diff.php/phpdoc-hu/install/unix/apache1.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-hu/install/unix/apache1.xml diff -u phpdoc-hu/install/unix/apache1.xml:1.1 phpdoc-hu/install/unix/apache1.xml:1.2 --- phpdoc-hu/install/unix/apache1.xml:1.1 Sat Aug 7 14:48:54 2004 +++ phpdoc-hu/install/unix/apache1.xml Sat Aug 7 17:42:12 2004 @@ -5,7 +5,8 @@ <para> Ez a rész a PHP Apache-hoz történõ telepítéséhez tartalmaz megjegyzéseket és javaslatokat. Az <link - linkend="install.unix.apache2">Apache 2-höz tartozó útbaigazítások és javaslatok</link> külön oldalon találhatóak. + linkend="install.unix.apache2">Apache 2-höz tartozó útbaigazítások + és javaslatok</link> külön oldalon találhatóak. </para> <para> A 10. sorban a <command>configure</command>-nak átadandó argumentumokat @@ -58,96 +59,101 @@ cp php.ini-dist /usr/local/lib/php.ini - You may edit your .ini file to set PHP options. If you prefer your - php.ini in another location, use --with-config-file-path=/some/path in - step 10. + PHP opciók beállításához szerkeszd az .ini fájlt. Ha szeretnéd a + php.ini-t máshova tenni, a 10. lépésben használd a + --with-config-file-path=/ut/vonal - If you instead choose php.ini-recommended, be certain to read the list - of changes within, as they affect how PHP behaves. + Ha a php.ini-recommended fájlt választod, ne felejtsd el elolvasni + a változtatások listáját, mivel az befolyásolhatja a PHP mûködését. -14. Edit your httpd.conf to load the PHP module. The path on the right hand - side of the LoadModule statement must point to the path of the PHP - module on your system. The make install from above may have already - added this for you, but be sure to check. +14. Módosítsd a httpd.conf állommányt úgy, hogy a PHP modult töltse be. + A LoadModule jobb oldalán szereplõ útvonal a rendszereden lévõ + PHP modul útvonala kell legyen. A fenti make install parancs már + el kellett végezze ezt helyetted, de jobb ha megbizonyosodsz róla. - For PHP 4: + PHP 4 esetén: LoadModule php4_module libexec/libphp4.so - For PHP 5: + PHP 5 esetén: LoadModule php5_module libexec/libphp5.so -15. And in the AddModule section of httpd.conf, somewhere under the - ClearModuleList, add this: +15. A httpd.conf AddModule részében, valahol a ClearModuleList alá + tedd be ezt: - For PHP 4: + PHP 4 esetén: AddModule mod_php4.c - For PHP 5: + PHP 5 esetén: AddModule mod_php5.c -16. Tell Apache to parse certain extensions as PHP. For example, - let's have Apache parse the .php extension as PHP. You could - have any extension(s) parse as PHP by simply adding more, with - each separated by a space. We'll add .phtml to demonstrate. +16. Meg kell mondani az Apache-nak, hogy bizonyos kiterjesztéssel + rendelkezõ fájlokat a PHP-vel szerint értelmezzen. Például + mondjuk meg az Apache-nak, hogy a .php fájlokat PHP-vel + interpretálja. Több kiterjesztést úgy adhatsz meg, hogy + egyszerûen szóközzel választod el õket. Példaképpen itt még + a .phtml-t adjuk meg. AddType application/x-httpd-php .php .phtml - It's also common to setup the .phps extension to show highlighted PHP - source, this can be done with: + Elég népszerû, hogy a .phps kiterjesztést úgy állítják be, hogy + a színezett PHP-t mutassa, ez így érhetõ el: AddType application/x-httpd-php-source .phps -17. Use your normal procedure for starting the Apache server. (You must - stop and restart the server, not just cause the server to reload by - using a HUP or USR1 signal.) +17. Használd a normális eljárást az Apache szerver elindítására. (Le kell + állítanod, majd elindítanod, nem elegendõ a szerver újratöltése + HUP vagy USR1 szignállal.) ]]> </screen> </example> <para> - Depending on your Apache install and Unix variant, there are many - possible ways to stop and restart the server. Below are some typical - lines used in restarting the server, for different apache/unix - installations. You should replace <literal>/path/to/</literal> with - the path to these applications on your systems. + Az Apache telepítéstõl és a Unix változattól függõen, több módon + lehet a szervert leállítani vagy újraindítani. Az alábbiakban + felsorolunk néhány a tipikus sorokat amelyeket különbözõ + apache/unix konfigurációkon szerver-újraindításra használnak. + Az <literal>/útvonal/</literal> helyébe helyettesítsd a megfelelõ + alkalmazás útvonalát. </para> <para> <example> - <title>Example commands for restarting Apache</title> + <title>Példa-utasítások az Apache újraindításához</title> <programlisting role="shell"> <![CDATA[ -1. Several Linux and SysV variants: +1. Számos Linux és SysV variáns: /etc/rc.d/init.d/httpd restart -2. Using apachectl scripts: -/path/to/apachectl stop -/path/to/apachectl start - -3. httpdctl and httpsdctl (Using OpenSSL), similar to apachectl: -/path/to/httpsdctl stop -/path/to/httpsdctl start - -4. Using mod_ssl, or another SSL server, you may want to manually -stop and start: -/path/to/apachectl stop -/path/to/apachectl startssl +2. Az apachectl szkriptek használata: +/útvonal/apachectl stop +/útvonal/apachectl start + +3. A httpdctl és a httpsdctl (OpenSSL használata + esetén), hasonlóan az apachectl-hez: +/útvonal/httpsdctl stop +/útvonal/httpsdctl start + +4. mod_ssl vagy más SSL szerver használata esetén, + kézzel kell leállítani és elindítani: +/útvonal/apachectl stop +/útvonal/apachectl startssl ]]> </programlisting> </example> </para> <para> - The locations of the apachectl and http(s)dctl binaries often - vary. If your system has <literal>locate</literal> or - <literal>whereis</literal> or <literal>which</literal> commands, - these can assist you in finding your server control programs. + Az apachectl és a http(s)dctl helyen gyakran változik. + Ha van a rendszeredben <literal>locate</literal>, + <literal>whereis</literal> vagy <literal>which</literal> + parancs, ezek segíthetnek megtalálni a szervervezérlõ + programokat. </para> <para> - Different examples of compiling PHP for apache are as follows: + Itt egy másik példa a PHP Apache-hoz való fordítására: <informalexample> <programlisting role="shell"> <![CDATA[ @@ -157,10 +163,10 @@ </informalexample> </para> <para> - This will create a <filename>libphp4.so</filename> shared - library that is loaded into Apache using a LoadModule line in - Apache's &httpd.conf; file. The PostgreSQL - support is embedded into this <filename>libphp4.so</filename> + Ez létrehozza a <filename>libphp4.so</filename> osztott könyvtárat + ami az Apache-ba töltödik be a &httpd.conf; LoadModule sora által + A PostgreSQL támogatás bele van építve ebbe a + <filename>libphp4.so</filename> fájlba. library. </para> <para> @@ -173,64 +179,65 @@ </informalexample> </para> <para> - This will create a <filename>libphp4.so</filename> shared - library for Apache, but it will also create a - <filename>pgsql.so</filename> shared library that is loaded into - PHP either by using the extension directive in - &php.ini; file or by loading it explicitly in - a script using the <function>dl</function> function. + Ez létrehoz egy <filename>libphp4.so</filename> osztott könyvtárat + az Apache számára, de egy <filename>pgsql.so</filename> osztott + könyvtérat is készít, amely a PHP-be a &php.ini; extension + direktívája által vagy a szkriptben szereplõ <function>dl</function> + függvénnyel kerül betöltésre. </para> <para> <informalexample> <programlisting role="shell"> <![CDATA[ -./configure --with-apache=/path/to/apache_source --with-pgsql +./configure --with-apache=/útvonal/apache_source --with-pgsql ]]> </programlisting> </informalexample> </para> <para> - This will create a <filename>libmodphp4.a</filename> library, a - <filename>mod_php4.c</filename> and some accompanying files and - copy this into the <literal>src/modules/php4</literal> directory - in the Apache source tree. Then you compile Apache using + Ez létrehoz egy <filename>libmodphp4.a</filename> könyvtárat, + egy <filename>mod_php4.c</filename>-t és néhány velejáró fájlt + és bemásolja ezeket az Apache forrásfájának + <literal>src/modules/php4</literal> könyvtárába. + Ezután lefordítod az Apache-t <literal>--activate-module=src/modules/php4/libphp4.a</literal> - and the Apache build system will create - <filename>libphp4.a</filename> and link it statically into the - <filename>httpd</filename> binary. The PostgreSQL support is - included directly into this <filename>httpd</filename> binary, - so the final result here is a single <filename>httpd</filename> - binary that includes all of Apache and all of PHP. + opcióval, majd az Apache fordító rendszere létrehozza a + <filename>libphp4.a</filename>-t, majd statikusan belinkeli a + <filename>httpd</filename> binárisba. A PostgreSQL támogatás + közvetlenül ebben a <filename>httpd</filename> binárisban van + benne, így a végeredmény egy egyedüli <filename>httpd</filename> + bináris, ami tartalmazza az egész Apache-t és az egész PHP-t. </para> <para> <informalexample> <programlisting role="shell"> <![CDATA[ -./configure --with-apache=/path/to/apache_source --with-pgsql=shared +./configure --with-apache=/útvonal/apache_source --with-pgsql=shared ]]> </programlisting> </informalexample> </para> <para> - Same as before, except instead of including PostgreSQL support - directly into the final <filename>httpd</filename> you will get - a <filename>pgsql.so</filename> shared library that you can load - into PHP from either the &php.ini; file or - directly using <function>dl</function>. + Ez hasonló az elõzõvel, kivéve, hogy a PostgreSQL-t nem építjük + közvetlenül bele a végsõ <filename>httpd</filename>-be, hanem + készítünk egy <filename>pgsql.so</filename> osztott könyvtárat, + amit betölthetsz a PHP-be &php.ini;-bõl, vagy a + <function>dl</function> függvénnyel. </para> <para> - When choosing to build PHP in different ways, you should consider - the advantages and drawbacks of each method. Building as a shared - object will mean that you can compile apache separately, and don't - have to recompile everything as you add to, or change, PHP. - Building PHP into apache (static method) means that PHP will - load and run faster. For more information, see the Apache - <ulink url="&url.apachedso;">webpage on DSO support</ulink>. + Amikor a PHP különféle fordítási módjai közül választasz, + figyelembe kell venned a különbözõ módszerek elõnyeit és hátrányait. + Ha osztott fájlt hozol létre, az Apache-t külön fordíthatod, és + nem kell mindent újrafordítanod, ha valamit hozzá akarsz adni, vagy + módosítani a PHP-ben. Ha a PHP az Apache-ba építed be, azt jelenti, + hogy a PHP gyorsan töltõdik be és gyorsan fut. További információkért + lásd <ulink url="&url.apachedso;">az Apache DSO támogatásról szóló + weboldalát</ulink>. </para> <note> <para> - Apache's default &httpd.conf; currently ships with a section that looks - like this: + Az Apache alapértelmezett &httpd.conf; fájlja jelenleg egy hasonló + részt tartalmaz: <informalexample> <programlisting role="apache-conf"> <![CDATA[ @@ -239,16 +246,17 @@ ]]> </programlisting> </informalexample> - Unless you change that to "Group nogroup" or something like that ("Group daemon" is - also very common) PHP will not be able to open files. + Amíg nem változtatod meg "Group nogroup"-ra vagy valami hasonlóra + (a "Group daemon" elég általános) a PHP nem fog tudni fájlokat + megnyitni. </para> </note> <note> <para> - Make sure you specify the installed version of apxs when using - <option role="configure">--with-apxs=/path/to/apxs</option>. - You must NOT use the apxs version that is in the apache sources but the one - that is actually installed on your system. + Gyõzõdj meg róla, hogy az Apache-nak a telepített verzióját adod meg a + <option role="configure">--with-apxs=/útvonal/apxs</option> opcióban. + NE használd a apache forráskódban szereplû apxs verziót, hanem azt, + amelyik ténylegesen telepítve van a rendszeredre. </para> </note> </sect1>
« previous php.doc.hu (#951) next »