hirokawa Sun Feb 18 15:30:22 2001 EDT
Modified files:
/phpdoc/ja/chapters install.xml
/phpdoc/ja/language oop.xml
Log:
update translation.
Index: phpdoc/ja/chapters/install.xml
diff -u phpdoc/ja/chapters/install.xml:1.24 phpdoc/ja/chapters/install.xml:1.25
--- phpdoc/ja/chapters/install.xml:1.24 Sun Feb 4 05:31:50 2001
+++ phpdoc/ja/chapters/install.xml Sun Feb 18 15:30:20 2001
@@ -6,7 +6,10 @@
<simpara>
ソースコードおよび(Windowsを含む)いくつかのプラットフォーム用のバ
イナリ配布ファイルは、<literal><ulink
- url="&url.php;">&url.php;</ulink></literal>にあります。
+ url="&url.php;">&url.php;</ulink></literal>にあります。配布ファイ
+ ルをダウンロードする際には、最も近い
+ <ulink url="&url.mirrors;">ミラーサイト</ulink>を選択することを推
+ 奨します。
</simpara>
</sect1>
@@ -2948,30 +2951,29 @@
</itemizedlist>
</para>
<para>
- PHP 4 for Windows comes in two flavours - a CGI executable (php.exe),
- and several SAPI modules (for exapmle php4isapi.dll). The latter form
- is new to PHP 4, and provides significantly improved performance and
- some new functionality. However, please note that the SAPI modules
- are <emphasis>NOT</emphasis> yet considered to be production quality.
- The reason for this is that the PHP SAPI modules are using the
- thread-safe version of the PHP code, which is new to PHP 4, and has
- not yet been tested and pounded enough to be considered completely
- stable, and there are actually a few known bugs. On the other hand,
- some people have reported very good results with the SAPI modules,
- even though we're not aware of anyone actually running it on a
- production site. In short - your mileage may vary; If you need
- absolute stability, trade the performance of the SAPI modules
- with the stability of the CGI executable.
+ Windows用のPHP 4にはCGI実行版と(php4isapi.dllのような)複数のSAPI
+ モジュールの2種類があります。後者の形式はPHP
+4で新たにサポートさ
+
+れたもので、性能の著しい改善といくつかの新機能が提供されます。し
+
+かし、SAPIモジュールは、まだ、製品の品質には達していないことに注
+ 意して下さい。その理由は、PHP SAPIモジュールがPHP
+4で新たに導入さ
+
+れたマルチスレッド版のPHPコードを使用しており、完全に安定している
+
+と判断されるまではテストや改良がまだ行われておらず、僅かな既知の
+
+バグも存在するためです。他方、実用サイトで実際に実行しているとい
+
+うことは把握していませんが、SAPIモジュールにより非常に良い結果
+
+も報告されています。短期的には解決策は変化する可能性があります。
+
+絶対的な安定性を求める場合、SAPIモジュール版の性能を犠牲にCGI実行
+ 版の安定性を高めることになります。
</para>
<para>
- If you choose one of the SAPI modules and use Windows 95, be sure
- to download the DCOM update from the <ulink
-
url="http://download.microsoft.com/msdownload/dcom/95/x86/en/dcom95.exe">Microsoft
- DCOM pages</ulink>. For the ISAPI module, an ISAPI 4.0 compliant Web server
- is required (tested on IIS 4.0, PWS 4.0 and IIS 5.0). IIS 3.0 is
- <emphasis>NOT</emphasis> supported; You should download and
- install the Windows NT 4.0 Option Pack with IIS 4.0 if you
- want native PHP support.
+ SAPIモジュールのどれかを選択し、Windows
+95で使用する場合には、
+ 必ずDCOMアップデートを<ulink
+
+url="http://download.microsoft.com/msdownload/dcom/95/x86/en/dcom95.exe">Microsoft
+ DCOM
+ページ</ulink>からダウンロードして下さい。ISAPIモジュールの
+ 場合、ISAPI 4.0対応のWebサーバが必要です(IIS 4.0、PWS 4.0、IIS
+ 5.0でテストされています)。IIS 3.0
+はサポートされていません。ネー
+ ティブなPHPサポートを利用したい場合には、Windows NT 4.0
+オプショ
+ ンパックをIIS
+4.0込みでダウンロードし、インストールする必要があり
+ ます。
</para>
<para>
以下の手順は、個々のサーバーに関する手順の前に行う全てのインストー
@@ -3050,155 +3052,182 @@
</sect2>
<sect2 id="install.windows.build">
- <title>Building from source</title>
+ <title>ソースからの構築</title>
<para>
- Before getting started, it is worthwhile answering the question:
- "Why is building on Windows so hard?" Two reasons come to mind:
+ 説明する前に、次の質問に答えておきましょう。
+ "なぜ、Windows上の構築作業はこんなに面倒なのか?"
+考えられる理由と
+ しては、二つあります。
</para>
<orderedlist>
- <listitem><simpara>
- Windows does not (yet) enjoy a large community of developers
- who are willing to freely share their source. As a direct
- result, the necessary investment in infrastructure required
- to support such development hasn't been made. By and large,
- what is available has been made possible by the porting of
- necessary utilities from Unix. Don't be surprised if some of
- this heritage shows through from time to time.
- </simpara></listitem>
- <listitem><simpara>
- Pretty much all of the instructions that follow are of the
- "set and forget" variety. So sit back and try follow the
- instructions below as faithfully as you can.
- </simpara></listitem>
+ <listitem>
+ <simpara>
+ Windows
+では、まだソースを自由に共有することを好む開発者の大規
+
+模なコミュニティが広まっていません。結果として、そのような開発
+
+をサポートするために必要な基盤を構築する作業が行われていません。
+
+利用可能な大部分のものは、UNIXから必要なユーティリティを移植し
+
+たものです。この経緯のいくつかが時々でてきますが、驚かないで下
+ さい。
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+
+ほとんど全ての手順は、"実行し、忘れる"形式で記述されています。
+
+このため、端末の前に座り、以下の手順にできるだけそのまま従って試
+ して見て下さい。
+ </simpara>
+ </listitem>
</orderedlist>
<sect3 id="install.windows.build.prepare">
- <title>Preparations</title>
+ <title>準備</title>
<para>
- Before you get started, you have a lot to download....
+
+始める前に、ダウンロードしなければならないものが大量にあります...
</para>
<itemizedlist>
- <listitem><simpara>
- For starters, get the Cygwin toolkit from the closest <ulink
- url="http://sources.redhat.com/cygwin/download.html">cygwin</ulink>
- mirror site. This will provide you most of the popular GNU
- utilities used by the build process.
- </simpara></listitem>
- <listitem><simpara>
- Download the rest of the build tools you will need from the PHP
- site at <ulink url="http://www.php.net/extra/win32build.zip"
- >http://www.php.net/extra/win32build.zip</ulink>.
- </simpara></listitem>
- <listitem><simpara>
- Get the source code for the DNS name resolver used by PHP
- at <ulink url="http://www.php.net/extra/bindlib_w32.zip"
- >http://www.php.net/extra/bindlib_w32.zip</ulink>. This
- is a replacement for the <filename>resolv.lib</filename>
- library included in <filename>win32build.zip</filename>.
- </simpara></listitem>
- <listitem><simpara>
- If you don't already have an unzip utility, you will
- need one. A free version is available from <ulink
- url="http://www.cdrom.com/pub/infozip/UnZip.html">InfoZip</ulink>.
- </simpara></listitem>
+ <listitem>
+ <simpara>
+ 初めての場合、Cygwin toolkit を最も近い
+ <ulink
+ url="http://sources.redhat.com/cygwin/download.html">cygwin</ulink>
+
+ミラーサイトから入手して下さい。これには、構築処理に使用される
+ 標準的なGNUユーティリティの多くが含まれています。
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ 必要な残りの構築ツールをPHPサイト<ulink
+
+url="http://www.php.net/extra/win32build.zip">http://www.php.net/extra/win32build.zip</ulink>からダウンロードします。
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ PHPで使用されるDNS名レゾルバ用のソースコードを
+ <ulink
+
+url="http://www.php.net/extra/bindlib_w32.zip">http://www.php.net/extra/bindlib_w32.zip</ulink>で入手します。これは、
+ <filename>win32build.zip</filename>に入っている
+ <filename>resolv.lib</filename>の代替品です。
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+
+unzipユーティリティをまだ持っていない場合、これが必要になりま
+ す。フリー版を<ulink
+
+url="http://www.cdrom.com/pub/infozip/UnZip.html">InfoZip</ulink>で入手可能です。
+ </simpara>
+ </listitem>
</itemizedlist>
<simpara>
- Finally, you are going to need the source to PHP 4 itself.
- You can get the latest development version using <ulink
- url="http://www.php.net/anoncvs.php">anonymous CVS</ulink>. If you get
- a <ulink url="http://snaps.php.net/">snapshot</ulink> or a <ulink
- url="http://www.php.net/downloads.php">source</ulink> tarball, you
- not only will have to untar and ungzip it, but you will have to
- convert the bare linefeeds to crlf's in the <filename>*.dsp</filename>
- and <filename>*.dsw</filename> files before Microsoft Visual C++
- will have anything to do with them.
+ 最後に、PHP
+4自体のソースが必要となります。最新の開発版を
+ <ulink
+ url="http://www.php.net/anoncvs.php">anonymous CVS</ulink>により
+ <ulink
+ url="http://snaps.php.net/">snapshot</ulink> または <ulink
+ url="http://www.php.net/downloads.php">ソース</ulink> のtarアー
+
+カイブを入手可能です。この際、tarおよびgzipの解凍を行うだけでな
+ く、Microsoft Visual C++がエラーを発生しないように
+ <filename>*.dsp</filename>および<filename>*.dsw</filename>ファ
+ イルの復改文字をCRLFに変換する必要があります。
</simpara>
<note>
<simpara>
- Place the <filename>Zend</filename> and
- <filename>TSRM</filename> directories inside the
- <filename>php4</filename> directory in order for the projects
- to be found during the build process.
+ 構築処理の際にプロジェクトが見付けられるように
+ <filename>Zend</filename> および <filename>TSRM</filename>ディ
+
+レクトリを<filename>php4</filename>ディレクトリの中に置いて下さ
+ い。
</simpara>
</note>
</sect3>
+
<sect3 id="install.windows.build.install">
- <title>Putting it all together</title>
+ <title>ツールのインストール</title>
<itemizedlist>
- <listitem><simpara>
- Follow the instructions for installing the unzip utility of
- your choosing.
- </simpara></listitem>
+ <listitem>
+ <simpara>
+
+選択したunzipユーティリティのインストール手順に従って下さい。
+ </simpara>
+ </listitem>
<listitem>
<simpara>
- Execute <filename>setup.exe</filename> and follow the installation
- instructions. If you choose to install to a path other than
- <filename>c:\cygnus</filename>, let the build process know by setting
- the Cygwin environment variable. On Windows 95/98 setting
- an environment variable can be done by placing a line in
- your autoexec.bat. On Windows NT, go to My Computer =>
- Control Panel => System and select the environment tab.
+ <filename>setup.exe</filename> を実行し、指示に従って下さい。
+
+<filename>c:\cygnus</filename>以外のパスにインストールした場合、
+ 構築処理時にCygwin環境変数を設定して下さい。
+ Windows 95/98
+の場合、環境変数の設定はautoexec.batに一行追加す
+ ることにより可能です。Windows
+NTの場合、マイコンピュータ
+ => コントロールパネル =>
+システムに移動し、環境変数タブ
+ を選択します。
</simpara>
<warning>
<simpara>
- Make a temporary directory for Cygwin to use, otherwise many
- commands (particularly bison) will fail. On Windows 95/98,
- <userinput>mkdir C:\TMP</userinput>. For Windows NT,
- <userinput>mkdir %SystemDrive%\tmp</userinput>.
+
+Cygwin用にテンポラリディレクトリを作成して下さい。さもないと
+ 多くのコマンド(特にbison)はエラーとなります。
+ Windows 95/98の場合、<userinput>mkdir C:\TMP</userinput>とし
+ ます。Windows NTの場合、
+ <userinput>mkdir %SystemDrive%\tmp</userinput>とします。
</simpara>
</warning>
+ </listitem>
+ <listitem>
+ <simpara>
+ ディレクトリを作成し、そこで、unzip
+ <filename>win32build.zip</filename>を行います。
+ </simpara>
</listitem>
- <listitem><simpara>
- Make a directory and unzip <filename>win32build.zip</filename> into it.
- </simpara></listitem>
<listitem>
<simpara>
- Launch Microsoft Visual C++, and from the menu select
- Tools => Options. In the dialog, select the
- directories tab. Sequentially change the dropdown
- to Executables, Includes, and Library files,
- and ensure that <filename>cygwin\bin</filename>,
- <filename>win32build\include</filename>, and
- <filename>win32build\lib</filename> are in each list,
- respectively. (To add an entry, select a blank line
- at the end of the list and begin typing). Typical entries
- will look like this:
+ Microsoft Visual C++を実行し、メニューからツール
+ =>
+オプションを選択します。ダイアログで、ディレクトリタブを
+ 選択します。順番にExecutables, Includes, Library filesにドロッ
+ プダウンを変更し、それぞれのリストの中に、
+ <filename>cygwin\bin</filename>,
+ <filename>win32build\include</filename>,
+ <filename>win32build\lib</filename>のエントリがあることを確認
+
+して下さい。(エントリを追加するには、リストの最後の空白行を選
+
+択し、入力して下さい)典型的なエントリは次のようになります。
</simpara>
<itemizedlist>
- <listitem><simpara>
- <filename>c:\cygnus\bin</filename>
- </simpara></listitem>
- <listitem><simpara>
- <filename>c:\php-win32build\include</filename>
- </simpara></listitem>
- <listitem><simpara>
- <filename>c:\php-win32build\lib</filename>
- </simpara></listitem>
+ <listitem>
+ <simpara>
+ <filename>c:\cygnus\bin</filename>
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ <filename>c:\php-win32build\include</filename>
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ <filename>c:\php-win32build\lib</filename>
+ </simpara>
+ </listitem>
</itemizedlist>
<simpara>
- Press OK, and exit out of Visual C++.
+ OKを押し、Visual C++を終了して下さい。
</simpara>
</listitem>
<listitem>
<simpara>
- Make another directory and unzip <filename>bindlib_w32.zip</filename>
- into it. Decide whether you want to have debug symbols available
- (bindlib - Win32 Debug) or not (bindlib - Win32 Release).
- Build the appropriate configuration:
+ 他のディレクトリを作成し、unzip
+ <filename>bindlib_w32.zip</filename>をそこで行って下さい。デバッ
+ グシンボルを利用可能とする(bindlib - Win32 Debug) かしない
+ (bindlib - Win32 Release)かを決め手下さい。
+ 次のように適当な設定で構築を行って下さい:
</simpara>
<itemizedlist>
- <listitem><simpara>
- For GUI users, launch VC++, and then select File => Open
- Workspace and select bindlib. Then select Build=>Set
- Active Configuration and select the desired configuration.
- Finally select Build=>Rebuild All.
- </simpara></listitem>
<listitem>
+ <simpara>
+ GUIユーザの場合は、VC++を起動し、ファイル =>
+オープンワー
+
+クスペースをオープンし、bindlibを選択して下さい。続いて、
+
+構築=>アクティブな構成を選択を選択し、好きな設定を選択し
+ て下さい。最後に
+ビルド=>全てリビルドを選択して下さい。
+ </simpara>
+ </listitem>
+ <listitem>
<simpara>
- For command line users, make sure that you either have
- the C++ environment variables registered, or have run
- <command>vcvars.bat</command>, and then execute one of the
- following:
+ コマンドライン版のユーザの場合、C++
+用の環境変数が定義されて
+ いるかどうかを確認して下さい。もしくは、
+ <command>vcvars.bat</command>を実行し、続いて次のうちのどれ
+ かを実行して下さい。
</simpara>
<itemizedlist>
<listitem>
@@ -3213,59 +3242,67 @@
</listitem>
</itemizedlist>
</listitem>
- <listitem><simpara>
- At this point, you should have a usable
- <filename>resolv.lib</filename> in either your
- <filename>Debug</filename> or <filename>Release</filename>
- subdirectories. Copy this file into your
- <filename>win32build\lib</filename> directory over the
- file by the same name found in there.
- </simpara></listitem>
+ <listitem>
+ <simpara>
+ この時点で、サブディレクトリ<filename>Debug</filename> また
+ は<filename>Release</filename>に利用可能な
+ <filename>resolv.lib</filename> があるはずです。このファイル
+ を <filename>win32build\lib</filename> ディレクトリの同名の
+ ファイルに上書きコピーして下さい。
+ </simpara>
+ </listitem>
</itemizedlist>
</listitem>
</itemizedlist>
</sect3>
<sect3 id="install.windows.build.compile">
- <title>Compiling</title>
+ <title>コンパイル</title>
<simpara>
- The best way to get started is to build the standalone/CGI version.
+ 最良の方法は、まずstandalone/CGI 版を構築することです。
</simpara>
<itemizedlist>
- <listitem><simpara>
- For GUI users, launch VC++, and then select File => Open
- Workspace and select php4ts. Then select Build=>Set Active
- Configuration and select the desired configuration. Finally
- select Build=>Rebuild All.
- </simpara></listitem>
+ <listitem>
+ <simpara>
+ GUIユーザの場合、VC++を起動し、ファイル =>
+ワークスペースを
+
+開くを選択し、php4tsを選びます。続いて、構築=>アクティブな
+
+構成を設定を選び、好きな設定を選択します。最後に構築=>全て
+ 構築を選択します。
+ </simpara>
+ </listitem>
<listitem>
<simpara>
- For command line users, make sure that you either have
- the C++ environment variables registered, or have run
- <command>vcvars.bat</command>, and then execute one of the
- following:
+ コマンドライン版ユーザの場合、C++
+用の環境変数が定義されている
+ かどうかを確認して下さい。もしくは、
+ <command>vcvars.bat</command>を実行し、続いて次のうちのどれか
+ を実行して下さい。
</simpara>
<itemizedlist>
- <listitem><simpara>
- <userinput>msdev php4ts.dsp /MAKE "php4ts - Win32 Debug_TS"</userinput>
- </simpara></listitem>
- <listitem><simpara>
+ <listitem>
+ <simpara>
+ <userinput>msdev php4ts.dsp /MAKE "php4ts - Win32 Debug_TS"</userinput>
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
<userinput>msdev php4ts.dsp /MAKE "php4ts - Win32 Release_TS"</userinput>
- </simpara></listitem>
- <listitem><simpara>
- At this point, you should have a usable
- <filename>php.exe</filename> in either
- your <filename>Debug_TS</filename> or
- <filename>Release_TS</filename> subdirectories.
- </simpara></listitem>
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ ここまでの手順で、サブディレクトリ
+ <filename>Debug_TS</filename> または
+ <filename>Release_TS</filename> に利用可能な
+ <filename>php.exe</filename> が作成されているはずです。
+ </simpara>
+ </listitem>
</itemizedlist>
</listitem>
</itemizedlist>
<simpara>
- Repeat the above steps with <filename>php4isapi.dsp</filename>
- (which can be found in <filename>sapi\isapi</filename>) in
- order to build the code necessary for integrating PHP with
- Microsoft IIS.
+ PHPをMicrosoft
+IISに組み込む際に必要なコードを構築するためには、
+ 上記の手順を <filename>php4isapi.dsp</filename>
+ (<filename>sapi\isapi</filename>にあります)で繰り返して下さい。
</simpara>
</sect3>
</sect2>
@@ -3285,18 +3322,18 @@
ジュールを動的にロードすることも可能です。
</para>
<para>
- The DLLs for PHP extensions are prefixed with 'php_'. This
- prevents confusion between PHP extensions and their supporting
- libraries.
+
+PHP拡張モジュールのDLLには、前に'php_'が付いています。これにより、
+
+PHP拡張モジュールを他のサポート用ライブラリと混同することが防止で
+ きます。
</para>
<note>
<para>
- In PHP 4.0.4pl1 MySQL, ODBC, FTP, Calendar, BCMath, COM, PCRE,
- Session, WDDX and XML support is <emphasis>built-in</emphasis>.
- You don't need to load any additional extensions in order to
- use these functions. See your distributions
- <filename>README.txt</filename> or <filename>install.txt</filename>
- for a list of built in modules.
+ PHP 4.0.4pl1では、MySQL, ODBC, FTP, Calendar, BCMath, COM, PCRE,
+ Session, WDDX、XML サポートが <emphasis>組み込まれています
+
+</emphasis>。これらの関数を使用する際に、拡張モジュールをロード
+
+する必要はありません。組込済モジュールのリストについては、配布ファ
+ イルの <filename>README.txt</filename> または
+ <filename>install.txt</filename>を参照下さい。
</para>
</note>
@@ -3481,17 +3518,17 @@
</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
+ これにより、<filename>libmodphp4.a</filename> ライブラリと
+ <filename>mod_php4.c</filename> およびいくつかの付属ファ
+ イルが作成され、Apacheにソースツリーのディレクトリ
+ <literal>src/modules/php4</literal> にコピーされます。続いて、
<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.
+
+を指定してApacheをコンパイルして下さい。これにより、Apache構築シ
+ ステムは、<filename>libphp4.a</filename> を作成し、
+ <filename>httpd</filename> バイナリに静的にリンクされます。
+ PostgreSQL サポートはこの<filename>httpd</filename>バイナリに直接
+
+インクルードされるため、最終的な結果は、Apache全体とPHP全体を含む
+ 単一の<filename>httpd</filename>バイナリになります。
</para>
<para>
<informalexample>
@@ -3815,28 +3852,29 @@
</simpara>
<para>
- If you choose the CGI binary, do the following:
+ CGIバイナリを選択した場合は、次のようにします。
<itemizedlist>
<listitem>
<simpara>
- Edit the enclosed <filename>pws-php4cgi.reg</filename>
- file (look into the sapi dir) to reflect the location of
- your php.exe. Forward slashes should be escaped, for example:
+ 添付の(sapiディレクトリにある)
+ <filename>pws-php4cgi.reg</filename> ファイルを使用するphp.exe
+
+の位置に合うように編集します。前向きスラッシュは、エスケープす
+ る必要があります。例えば、
<literal>[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w3svc\parameters\Script
Map] ".php"="C:\\PHP\\php.exe"</literal>
</simpara>
</listitem>
<listitem>
<simpara>
- In the PWS Manager, right click on a given directory you want
- to add PHP support to, and select Properties. Check the 'Execute'
- checkbox, and confirm.
+
+PWSマネージャにおいて、PHPサポートを追加したいディレクトリで右
+
+クリックし、プロパティを選択します。'実行'チェックボックスを
+ チェックし、確認します。
</simpara>
</listitem>
</itemizedlist>
</para>
<para>
- If you choose the ISAPI module, do the following:
+ ISAPIモジュールを選択した場合、次のようにします。
<itemizedlist>
<listitem>
<simpara>
@@ -3859,7 +3897,7 @@
</sect2>
<sect2 id="install.iis.iis4">
- <title>Windows NT/2000 and IIS 4 or newer</title>
+ <title>Windows NT/2000 と IIS 4 以降</title>
<simpara>
To install PHP on an NT/2000 Server running IIS 4 or newer,
@@ -4138,42 +4176,40 @@
</sect1>
<sect1 id="install.oreilly">
- <title>Oreilly Website Pro Server installs</title>
+ <title>Oreilly Website Pro サーバへのインストール</title>
<para>
- This section contains notes and hints specific to Oreilly
- Website Pro.
+ 本節では、Oreilly Website
+Proに固有の注意事項とヒントについて記述
+ します。
</para>
<sect2 id="install.oreilly.windows">
- <title>Oreilly Website Pro 2.5 and up for Windows</title>
+ <title>Windows用のOreilly Website Pro 2.5以降</title>
<simpara>
- This list describes how to set up the PHP CGI binary
- or the ISAPI module to work with Oreilly Website Pro
- on Windows.
+ 以下の手順は、Window上のOreilly Website ProでPHP CGIバイナリまた
+
+はISAPIモジュールを動作させる際の設定方法を説明するものです。
</simpara>
<para>
<itemizedlist>
<listitem>
<para>
- Edit the Server Properties and select the tab "Mapping".
+ サーバのプロパティを編集し、"Mapping"タブを選択します。
</para>
</listitem>
<listitem>
<para>
- From the List select "Associations" and enter the desired
- extension (".php") and the path to the CGI exe
- (ex. c:\php\php.exe) or the ISAPI dll file
- (ex. c:\php\sapi\php4isapi.dll).
+ Listから"Associations"を選択し、 好きな拡張子(".php") とCGI
+ exe (例: c:\php\php.exe)またはISAPI dllファイル
+ (例: c:\php\sapi\php4isapi.dll)へのパスを入力します。
</para>
</listitem>
<listitem>
<para>
- Select "Content Types" add the same extension ".php"
- and enter the content type. If you choose the CGI exe
- file, enter 'wwwserver/shellcgi', if you chosse the
- ISAPI module, enter 'wwwserver/isapi' (both without
- quotes).
+ "Content Types"を選択し、同じ拡張子 ".php" を選択し、
+ content typeを入力します。CGI exeファイルを選択した場合は、
+
+'wwwserver/shellcgi'と入力して下さい。ISAPIモジュールを選択し
+
+た場合は、'wwwserver/isapi'と入力して下さい。(両方とも引用符な
+ し)
</para>
</listitem>
</itemizedlist>
@@ -4182,44 +4218,42 @@
</sect1>
<sect1 id="install.xitami">
- <title>Xitami Server installs</title>
+ <title>Xitami サーバへのインストール</title>
<para>
- This section contains notes and hints specific to Xitami.
+
+本節では、Xitamiに固有の注意事項とヒントについて説明します。
</para>
<sect2 id="install.xitami.windows">
- <title>Xitami for Windows</title>
+ <title>Windows用のXitami</title>
<simpara>
- This list describes how to set up the PHP CGI binary
- to work with Xitami on Windows.
+ 以下の手順は、Windows上のXitamiでPHP
+CGIバイナリを動作させる際の
+ 設定方法です。
</simpara>
<para>
<itemizedlist>
<listitem>
<para>
- Make sure the webserver is running, and point
- your browser to xitamis admin console
- (usually http://127.0.0.1/admin), and click on
- Configuration.
+
+Webサーバが実行されていることを確認して下さい。そして、ブラウ
+ ザで Xitami管理用コンソール(通常はhttp://127.0.0.1/admin)を見
+ て、Configurationをクリックして下さい。
</para>
</listitem>
<listitem>
<para>
- Navigate to the Filters, and put the
- extension which php should parse (i.e. .php)
- into the field File extensions (.xxx).
+
+Filtersを選択し、phpでパースさせる拡張子(すなわち、.php)を
+ File extensions (.xxx) フィールドに入力して下さい。
</para>
</listitem>
<listitem>
<para>
- In Filter command or script put the path and name
- of your php executable i.e. c:\php\php.exe.
+ Filter command or script に、PHP実行ファイルのパスと名前(すな
+ わち、c:\php\php.exe)を入力して下さい。
</para>
</listitem>
<listitem>
<para>
- Press the 'Save' icon.
+ 'Save'アイコンを押して下さい。
</para>
</listitem>
</itemizedlist>
@@ -4233,9 +4267,8 @@
PHPは、多くのWebサーバーをサポートするように構築することが可能で
す。サーバーに関係する設定オプションの完全なリストについては、
<link linkend="install.configure.servers">サーバーに関係した
- オプション</link> を参照下さい。
- The PHP CGI binaries are compatible with almost all
- webservers supporting the CGI interface.
+ オプション</link>
+を参照下さい。PHPのCGIバイナリは、CGIインター
+ フェースを備えるほぼ全てのWebサーバと互換性があります。
</para>
</sect1>
Index: phpdoc/ja/language/oop.xml
diff -u phpdoc/ja/language/oop.xml:1.4 phpdoc/ja/language/oop.xml:1.5
--- phpdoc/ja/language/oop.xml:1.4 Wed Oct 4 07:36:35 2000
+++ phpdoc/ja/language/oop.xml Sun Feb 18 15:30:21 2001
@@ -100,11 +100,26 @@
</informalexample>
<para>
- クラスにおける関数の中では、変数 $this
はそのオブジェクト自身を意味します。
-
オブジェクトの中では、何らかのクラス変数や関数にアクセスしたい場合に
- $this->something を使う必要があります。
+ クラスにおける関数の中では、変数 $this
+はそのオブジェクト自身を意
+
+味します。オブジェクトの中では、何らかのクラス変数や関数にアクセス
+ したい場合に $this->something
+を使う必要があります。オブジェクトの
+
+内部または外部の場合、そのオブジェクトのプロパティにアクセスする際
+ に $ は不要です。
</para>
+ <informalexample>
+ <programlisting role="php">
+$ncart->owner = "chris"; // $ は不要
+
+$ncart->$owner = "chris";
+// $ncart->$owner = $ncart->"" なのでこれは誤り
+
+$myvar = 'owner';
+$ncart->$myvar = "chris";
+// $ncart->$myvar = $ncart->ownerなのでこれは有効
+ </programlisting>
+ </informalexample>
+
<para>
コンストラクタは、クラスの新しいインスタンスを作成する際に
自動的にコールされるクラス関数です。