svn: /phpdoc/ja/trunk/install/unix/ nginx.xml

From: Date: Mon, 23 Dec 2019 13:03:00 +0000
Subject: svn: /phpdoc/ja/trunk/install/unix/ nginx.xml
Groups: php.doc.ja 
Request: Send a blank email to doc-ja+get-5246@lists.php.net to get a copy of this message
mumumu Mon, 23 Dec 2019 13:03:00 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=348680 Log: updated translation (complete) Changed paths: U phpdoc/ja/trunk/install/unix/nginx.xml Modified: phpdoc/ja/trunk/install/unix/nginx.xml =================================================================== --- phpdoc/ja/trunk/install/unix/nginx.xml 2019-12-23 12:38:55 UTC (rev 348679) +++ phpdoc/ja/trunk/install/unix/nginx.xml 2019-12-23 13:03:00 UTC (rev 348680) @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 346946 $ --> -<!-- EN-Revision: 345755 Maintainer: mumumu Status: working --> +<!-- EN-Revision: 345755 Maintainer: mumumu Status: ready --> <sect1 xml:id="install.unix.nginx" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Nginx 1.4.x (Unix システム用)</title> @@ -81,7 +81,7 @@ <listitem> <para> - 設定ファイルを取得し、正しい場所に移動する。 + 設定ファイルを取得し、正しい場所に移動します。 </para> <informalexample xml:id="install.unix.nginx.configure.php"> @@ -97,17 +97,17 @@ <listitem> <para> - It is important that we prevent Nginx from passing requests to the - PHP-FPM backend if the file does not exists, allowing us to prevent - arbitrarily script injection. + ファイルが存在しなかったときは、Nginx が PHP-FPM バックエンドに、 + リクエストを渡さないようにし、任意のスクリプトの挿入を防げるようにすることが重要です。 </para> <para> - We can fix this by setting the - <link linkend="ini.cgi.fix-pathinfo">cgi.fix_pathinfo</link> - directive to <literal>0</literal> within our php.ini file. + php.ini ファイルで、 + <link linkend="ini.cgi.fix-pathinfo">cgi.fix_pathinfo</link> + ディレクティブを <literal>0</literal> に設定することで、 + この設定を行うことができます。 </para> <para> - Load up php.ini: + php.ini をエディタで読み込みます: </para> <informalexample xml:id="install.unix.nginx.configure.ini"> @@ -119,7 +119,7 @@ </informalexample> <para> - Locate <literal>cgi.fix_pathinfo=</literal> and modify it as follows: + <literal>cgi.fix_pathinfo=</literal> の行を探し、以下のように修正します: </para> <informalexample xml:id="install.unix.nginx.configure.pathinfo"> @@ -133,8 +133,8 @@ <listitem> <para> - php-fpm.conf must be modified to specify that php-fpm must run as the user - www-data and the group www-data before we can start the service: + サービスを開始する前に、php-fpm が www-data ユーザーと www-data グループで + 必ず実行されるように、php-fpm.conf も修正しなければいけません: </para> <informalexample xml:id="install.unix.nginx.modify.phpfpm"> @@ -146,7 +146,7 @@ </informalexample> <para> - Find and modify the following: + 以下の部分を探し、修正します: </para> <informalexample xml:id="install.unix.nginx.modify.phpfpm.usergroup"> @@ -162,7 +162,7 @@ </informalexample> <para> - The php-fpm service can now be started: + ここまで来れば、php-fpm サービスを開始できます: </para> <informalexample xml:id="install.unix.nginx.start.phpfpm"> @@ -174,14 +174,14 @@ </informalexample> <para> - This guide will not configure php-fpm any further, if you are interested - in further configuring php-fpm then please consult the documentation. + このガイドでは php-fpm をこれ以上設定しませんが、 + php-fpm のさらなる設定に興味がある場合、ドキュメントを参照してください。 </para> </listitem> <listitem> <para> - Nginx must now be configured to support the processing of PHP applications: + Nginx が PHP アプリケーションの実行をサポートするように設定しなければなりません。 </para> <informalexample xml:id="install.unix.nginx.configure.nginx"> @@ -193,8 +193,8 @@ </informalexample> <para> - Modify the default location block to be aware it must attempt - to serve .php files: + Nginx が、.php ファイルをサービスすることを認識させるため、 + デフォルトの location ブロックを修正します: </para> <informalexample xml:id="install.unix.nginx.configure.nginx.location"> @@ -209,9 +209,10 @@ </informalexample> <para> - The next step is to ensure that .php files are passed to the - PHP-FPM backend. Below the commented default PHP location block, - enter the following: + 次のステップは、 .php ファイルへのリクエストが + PHP-FPM バックエンドに渡されるようにすることです。 + コメントアウトされているデフォルトの PHP location ブロックを + 以下のように修正します: </para> <informalexample xml:id="install.unix.nginx.configure.nginx.php"> @@ -229,7 +230,7 @@ </informalexample> <para> - Restart Nginx. + Nginx を再起動します。 </para> <informalexample xml:id="install.unix.nginx.restart.nginx"> @@ -244,7 +245,7 @@ <listitem> <para> - Create a test file + テスト用のファイルを作成します。 </para> <informalexample xml:id="install.unix.nginx.test.nginx.php"> @@ -257,17 +258,18 @@ </informalexample> <para> - Now navigate to http://localhost. The phpinfo() should now be shown. + http://localhost にアクセスすれば、 phpinfo() が表示されるはずです。 </para> </listitem> </orderedlist> <para> - Following the steps above you will have a running Nginx web server with - support for PHP as an <literal>FPM</literal> <literal>SAPI</literal> module. Of course there are - many more configuration options available for Nginx and PHP. For more - information type <command>./configure --help</command> in the corresponding - source tree. + 上のステップに従うことで、 + <literal>FPM</literal> <literal>SAPI</literal> モジュールとして + PHP をサポートした Nginx Web サーバを実行できるでしょう。 + もちろん、さらに沢山の設定オプションが Nginx と PHP では利用可能です。 + さらに多くの情報を得るには、対応するソースツリーで、 + <command>./configure --help</command> とタイプしてみてください。 </para> </sect1>

« previous php.doc.ja (#5246) next »