hirokawa Sat Feb 3 17:47:53 2001 EDT
Modified files:
/phpdoc/ja/chapters install.xml
Log:
update translation.
Index: phpdoc/ja/chapters/install.xml
diff -u phpdoc/ja/chapters/install.xml:1.22 phpdoc/ja/chapters/install.xml:1.23
--- phpdoc/ja/chapters/install.xml:1.22 Tue Jan 16 06:46:06 2001
+++ phpdoc/ja/chapters/install.xml Sat Feb 3 17:47:53 2001
@@ -358,14 +358,14 @@
</simpara>
</sect2>
<sect2 id="install.macosx.compile">
- <title>Compiling for OS X server</title>
+ <title>OS X サーバでのコンパイル</title>
<simpara>
There are two slightly different versions of Mac OS X, client and
server. The following is for OS X server.
</simpara>
<example id="install.macosx.compile.example">
<title>
- Mac OS X server install
+ Mac OS X サーバでのインストール
</title>
<programlisting>
1. Get the latest distributions of Apache and PHP
@@ -447,7 +447,6 @@
<sect1 id="install.configure">
<title>設定オプションの完全なリスト</title>
-
<note>
<para>
これらのオプションは、コンパイル時にのみ使用可能です。PHPの実行設
@@ -1244,7 +1243,6 @@
</listitem>
</varlistentry>
</variablelist>
-
</sect2>
<sect2 id="install.configure.graphics">
@@ -1727,8 +1725,8 @@
</term>
<listitem>
<para>
- PHP 3, PHP 4: make rules
を有効にし、依存性はカジュアルインス
- トールに有用ではありません (いくらか混乱します)。
+ PHP 3, PHP 4: make rules および dependencies を有効にします。
+
+一般的なインストールでは必要ありません(混乱することがあります)。
</para>
</listitem>
</varlistentry>
@@ -2848,29 +2846,28 @@
</sect1>
- <sect1 id="install-windows95-nt">
- <title>Windows 95/98/NT システムへのインストール</title>
+ <sect1 id="install-windows">
+ <title>Windows 9x/Me/NT/2000システムへのインストール</title>
<para>
-
PHPをWindowsにインストールするには、マニュアルインストールと
- installshieldインストールによる方法の2種類があります。
- <itemizedlist>
- <listitem>
- <simpara>
- <link linkend="install.windows.installer">Installshield</link>
- に関する手順はこちらを参照下さい。
- </simpara>
- </listitem>
- <listitem>
- <simpara>
- <link linkend="install.windows.manual">マニュアル設定</link>
- に関する手順はこちらを参照下さい。
- </simpara>
- </listitem>
- </itemizedlist>
+ PHPをWindowsにインストールするには、<link
+ linkend="install.windows.manual">マニュアルインストール</link>とイ
+ ンストーラ<link
+ linkend="install.windows.installer">InstallShield</link>による方法
+ の2種類があります。
</para>
+ <para>
+ Microsoft Visual
+Studioを持っている場合、オリジナルのソースコード
+ からPHPを <link linkend="install.windows.build">構築</link>するこ
+ とも可能です。
+ </para>
+ <para>
+
+WindowsシステムにPHPをインストールした後、機能を追加するために
+ <link linkend="install.windows.extensions">様々な拡張モジュールの
+ ロード</link>を行う可能性があります。
+ </para>
<sect2 id="install.windows.installer">
- <title>Windows Installshield</title>
+ <title>Windows InstallShield</title>
<para>
CGIバージョンのPHPをインストールする Windows 用
PHPインストーラが、
@@ -2879,8 +2876,8 @@
</para>
<simpara>
-
使用するHTTPサーバーをシステムにインストールし、完全に動作するよ
- うにして下さい。
+
+使用する<acronym>HTTP</acronym>サーバーをシステムにインストールし、
+ 完全に動作するようにして下さい。
</simpara>
<simpara>
@@ -2909,8 +2906,8 @@
<sect2 id="install.windows.manual">
<title>一般的なインストール手順</title>
<simpara>
- このインストール手順は、Windows 9x/NT
WebサーバについてPHPを手動
-
でインストールし、設定を際の手助けとなるものです。この手引は、
+ このインストール手順は、Windows
+9x/Me/NT/2000上のWebサーバにPHPを
+
+手動でインストールし、設定を際の手助けとなるものです。この手引は、
&link.bob;により書かれたものです。オリジナル版は、<ulink
url="&url.win32install;">&url.win32install;</ulink>にあります。
</simpara>
@@ -2919,26 +2916,62 @@
<itemizedlist>
<listitem>
<para>
- Personal Web Server (最新版を推奨)
+ Personal Web Server 3または4以降
</para>
</listitem>
<listitem>
- <para>
- Internet Information Server 3 または 4
- </para>
- </listitem>
- <listitem>
- <para>
- Apache 1.3.x
- </para>
- </listitem>
- <listitem>
- <para>
- Omni HTTPd 2.0b1
- </para>
- </listitem>
- </itemizedlist>
- </para>
+ <para>
+ Internet Information Server 3 または 4以降
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Apache 1.3.x
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Omni HTTPd 2.0b1 以降
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Oreilly Website Pro
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Xitami
+ </para>
+ </listitem>
+ </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.
+ </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.
+ </para>
<para>
以下の手順は、個々のサーバーに関する手順の前に行う全てのインストー
ルに共通する必須のものです。
@@ -2984,25 +3017,25 @@
</listitem>
<listitem>
<simpara>
- PHP
実行開始時にロードしたいモジュールを選択して下さい。
-
これらのモジュールをロードするためには、'extension=php_*.dll' の
- 行からコメントを外します。
-
いくつかのモジュールは、正常に動作するために追加のライブラリの
- インストールを必要とします。
- PHP <ulink url="&url.php.faq;">FAQ</ulink>には、
-
サポート用ライブラリの在り処に関する更に詳細な情報が
- 記載されています。
-
スクリプトの中で以下のコマンドにより動的にモジュールを
- ロードすることもできます。
- <command>dl("php_*.dll");</command>
+ PHP
+実行開始時にロードしたいモジュールを選択して下さい。こ
+
+れらのモジュールをロードするためには、'extension=php_*.dll'
+
+の行からコメントを外します。いくつかのモジュールは、正常に
+
+動作するために追加のライブラリのインストールを必要とします。
+ PHP <ulink url="&url.php.faq;">FAQ</ulink>には、サポート用
+
+ライブラリの在り処に関する更に詳細な情報が記載されています。
+
+スクリプトの中で<function>dl</function>を使用することにより
+ 動的にモジュールをロードすることもできます。
+ <link linkend="install.windows.extensions">Windows
+ 拡張モジュール</link>に関する節を参照下さい。
</simpara>
</listitem>
<listitem>
<simpara>
- PWS と IIS においては、browscap.ini
を次のように指定することが
- できます。
- Windows 95/98 では 'c:\windows\system\inetsrv\browscap.ini' 、
- そして NT サーバーでは 'c:\winnt\system32\inetsrv\browscap.ini'
+ PWS と IIS においては、<filename>browscap.ini</filename>を
+ 次のように指定することができます。:
+ Windows 9x/Me では 'c:\windows\system\inetsrv\browscap.ini' 、
+ NT/2000 サーバーでは
+ 'c:\winnt\system32\inetsrv\browscap.ini'
PHP における browscap
機能に関する詳細な情報については、
この <ulink url="&url.browscap;">ミラーサーバー</ulink>
を見て、
"source" ボタンを押して動作を確認下さい。
@@ -3011,34 +3044,261 @@
</itemizedlist>
</para>
</listitem>
- </itemizedlist></para>
- <simpara>
-
PHP拡張機能用のDLLには、'php_'が先頭についています。これにより、
-
PHP拡張機能用ファイルとサポート用ライブラリとを間違えることを防止
- します。
- </simpara>
+ </itemizedlist>
+ </para>
+ </sect2>
+
+ <sect2 id="install.windows.build">
+ <title>Building from source</title>
+ <para>
+ Before getting started, it is worthwhile answering the question:
+ "Why is building on Windows so hard?" Two reasons come to mind:
+ </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>
+ </orderedlist>
+
+ <sect3 id="install.windows.build.prepare">
+ <title>Preparations</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>
+ </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.
+ </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.
+ </simpara>
+ </note>
+ </sect3>
+ <sect3 id="install.windows.build.install">
+ <title>Putting it all together</title>
+ <itemizedlist>
+ <listitem><simpara>
+ Follow the instructions for installing the unzip utility of
+ your choosing.
+ </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.
+ </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>.
+ </simpara>
+ </warning>
+ </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:
+ </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>
+ </itemizedlist>
+ <simpara>
+ Press OK, and exit out of 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:
+ </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>
+ 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:
+ </simpara>
+ <itemizedlist>
+ <listitem>
+ <simpara>
+ <userinput>msdev bindlib.dsp /MAKE "bindlib - Win32 Debug"</userinput>
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ <userinput>msdev bindlib.dsp /MAKE "bindlib - Win32 Release"</userinput>
+ </simpara>
+ </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>
+ </itemizedlist>
+ </listitem>
+ </itemizedlist>
+ </sect3>
+ <sect3 id="install.windows.build.compile">
+ <title>Compiling</title>
+ <simpara>
+ The best way to get started is to build the standalone/CGI version.
+ </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>
+ 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:
+ </simpara>
+ <itemizedlist>
+ <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>
+ </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.
+ </simpara>
+ </sect3>
</sect2>
- </sect1>
+ <sect2 id="install.windows.extensions">
+ <title>Windows 用拡張モジュールのインストール</title>
+ <para>
+
+PHPおよびWebサーバをWindowsにインストールした後、特定のモジュール
+
+を使用したくなる場合もあるでしょう。以下の表に現在のWindowモジュー
+
+ルを示します。マニュアルインストール手順で説明したように、PHPを起
+ 動する際に 'extension=php_*.dll'
+の行のコメントを外すことにより、
+
+ロードするモジュールを選択することが可能です。いくつかのモジュール
+
+は、正しく動作させるためにシステムに別のライブラリをインストールし
+ ておく必要があります。PHP <ulink url="&url.php.faq;">FAQ</ulink>
+
+には、サポートするライブラリの取得場所に関する詳しい情報があります。
+
+スクリプトの中で<function>dl</function>を使用することにより、モ
+ ジュールを動的にロードすることも可能です。
+ </para>
+ <para>
+ The DLLs for PHP extensions are prefixed with 'php_'. This
+ prevents confusion between PHP extensions and their supporting
+ libraries.
+ </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.
+ </para>
+ </note>
- <sect1 id="install-windows-modules">
- <title>Windows モジュールのインストール</title>
- <para>
-
PHPおよびWebサーバをWindowsにインストールした後、特定のモジュール
-
を使用したくなる場合もあるでしょう。以下の表に現在のWindowモジュー
-
ルを示します。マニュアルインストール手順で説明したように、PHPを起
- 動する際に 'extension=php_*.dll'
の行のコメントを外すことにより、
-
ロードするモジュールを選択することが可能です。いくつかのモジュール
-
は、正しく動作させるためにシステムに別のライブラリをインストールし
- ておく必要があります。PHP <ulink url="&url.php.faq;">FAQ</ulink>
-
には、サポートするライブラリの取得場所に関する詳しい情報があります。
-
スクリプトに次のように書くことにより、モジュールを動的にロードする
- ことも可能です。
- <command>dl("php_*.dll");</command>
- </para>
- <sect2 id="install.windows.modules">
- <title>PHP モジュール</title>
<para>
<table>
<title>PHP モジュール</title>
@@ -3116,12 +3376,10 @@
</tgroup>
</table>
</para>
-
</sect2>
-
</sect1>
- <sect1 id="install.apache">
+ <sect1 id="install.apache">
<title>Apache サーバへのインストール</title>
<para>
本節では、PHPをApacheにインストールする際の注意事項とコツについて
@@ -3383,15 +3641,18 @@
</sect1>
<sect1 id="install.iis">
- <title>IIS/PWS サーバインストール</title>
+ <title>IIS/PWS サーバへのインストール</title>
<para>
-
本節では、PHPをIISにインストールする際の注意およびコツについて説明
- します。<link linkend="install.iis.iis3">IIS3</link> および
- <link linkend="install.iis.iis4">IIS4</link> の両方について説明し
- ます。
+ 本節では、PHPをIIS(Microsoft Internet Information Server) にインス
+ トールする際の注意およびヒントについて説明します。
+ <link linkend="install.iis.iis3">PWS/IIS 3</link>、
+ <link linkend="install.iis.pws4">PWS 4 以降</link>、
+ <link linkend="install.iis.iis4">IIS 4 以降</link> のバージョンに
+ ついて説明します。
</para>
+
<sect2 id="install.iis.iis3">
- <title>Windows 95/98/NT と PWS/IIS 3</title>
+ <title>Windows と PWS/IIS 3</title>
<simpara>
これらのサーバーを設定するために推奨される方法は、配布ファイルに
@@ -3543,67 +3804,151 @@
</sect2>
+ <sect2 id="install.iis.pws4">
+ <title>WindowsとPWS 4以降</title>
+
+ <simpara>
+ PWS
+4以降を実行するWindows上にPHPをインストールする際には、二つの
+ 方法があります。一つは、PHP
+CGIバイナリを設定する方法で、もう一つ
+ は、ISAPIモジュール dllを使用する方法です。
+ </simpara>
+
+ <para>
+ If you choose the CGI binary, do the following:
+ <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:
+
+<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.
+ </simpara>
+ </listitem>
+ </itemizedlist>
+ </para>
+
+ <para>
+ If you choose the ISAPI module, do the following:
+ <itemizedlist>
+ <listitem>
+ <simpara>
+ Edit the enclosed <filename>pws-php4isapi.reg</filename>
+ file (look into the sapi dir) to reflect the location of
+ your php4isapi.dll. Forward slashes should be escaped, for example:
+
+<literal>[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w3svc\parameters\Script
+ Map] ".php"="C:\\PHP\\sapi\\php4isapi.dll"</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.
+ </simpara>
+ </listitem>
+ </itemizedlist>
+ </para>
+
+ </sect2>
+
<sect2 id="install.iis.iis4">
- <title>Windows NT および IIS 4</title>
+ <title>Windows NT/2000 and IIS 4 or newer</title>
+ <simpara>
+ To install PHP on an NT/2000 Server running IIS 4 or newer,
+ follow these instructions. You have two options to set up
+ PHP, using the CGI binary (php.exe) or with the ISAPI module.
+ </simpara>
+
<simpara>
- IIS
4を実行するNTサーバ上にPHPをインストールする際には、以下の手
- 順に従って下さい。
+ In either case, you need to start the Microsoft Management
+ Console (may appear as 'Internet Services Manager', either
+ in your Windows NT 4.0 Option Pack branch or the Control
+ Panel=>Administrative Tools under Windows 2000). Then
+ right click on your Web server node (this will most probably
+ appear as 'Default Web Server'), and select 'Properties'.
</simpara>
<para>
+ If you want to use the CGI binary, do the following:
<itemizedlist>
<listitem>
<simpara>
- インターネットサービスマネージャー (MMC) にて、Web
サイトまた
-
はアプリケーションのスタート位置となるディレクトリを選択Wて下
- さい。
+ Under 'Home Directory', 'Virtual Directory', or
+ 'Directory', click on the 'Configuration' button,
+ and then enter the App Mappings tab.
</simpara>
</listitem>
<listitem>
+ <simpara>
+ Click Add, and in the Executable box, type:
+ <literal>c:\php\php.exe %s %s</literal> (assuming
+ that you have unziped PHP in c:\php\). You MUST
+ have the %s %s on the end, PHP will not function
+ properly if you fail to do this.
+ </simpara>
+ </listitem>
+ <listitem>
<simpara>
-
そのディレクトリのプロパティシートを(右クリックしてから、
-
プロパティを選択して)オープンし、つづいて、ホームディレクトリ、
-
仮想ディレクトリ、ディレクトリタブをクリックして下さい。
+ In the Extension box, type the file name extension you want
+ associated with PHP scripts. Leave 'Method exclusions'
+ blank, and check the Script engine checkbox.
+ You must repeat step 3 and 4 for each extension you
+ want associated with PHP scripts.
+ (<literal>.php</literal> and <literal>.phtml</literal>
+ are common.)
</simpara>
</listitem>
<listitem>
<simpara>
-
設定ボタンをクリックし、つづいて、アプリケーションマップタブを
- クリックして下さい。
+ Set up the appropriate security. (This is done in Internet
+ Service Manager), and if your NT Server uses NTFS file system,
+ add execute rights for I_USR_ to the directory that contains
+ <literal>php.exe</literal>.
</simpara>
</listitem>
+ </itemizedlist>
+ </para>
+
+ <para>
+ To use the ISAPI module, do the following:
+ <itemizedlist>
<listitem>
<simpara>
- 追加 (Add)をクリックし、実行ファイル(Executable)
ボックスにて
- 次のように入力して下さい。
- <literal>c:\path-to-php-dir\php.exe %s %s</literal>
- 最後に %s %s を必ず付けてください。
- これがないと PHP が正常に動作しない可能性があります。
+ If you don't want to perform HTTP Authentication using PHP,
+ you can (and should) skip this step. Under ISAPI Filters,
+ add a new ISAPI filter. Use PHP as the filter name, and
+ supply a path to the php4isapi.dll.
</simpara>
</listitem>
<listitem>
<simpara>
- 拡張子ボックスにて、PHP
スクリプトに関連付けたいファイル拡張子
- を入力して下さい。
- PHP スクリプトに関連付けたい各拡張子
- (通常は、<literal>.php</literal> と <literal>.phtml</literal> です)
- を設定するために、手順 5 および 6
を繰り返してください。
+ Under 'Home Directory', click on the 'Configuration' button.
+ Add a new entry to the Application Mappings. Use the path
+ to the php4isapi.dll as the Executable, supply .php as the
+ extension, leave Method exclusions blank, and check the
+ Script engine checkbox.
</simpara>
</listitem>
<listitem>
<simpara>
-
セキュリティを適切に設定して下さい。(この作業は、インターネッ
- トサービスマネージャで行います。)NT サーバーが NTFS
ファイルシ
- ステムを使用している場合、I_USR_ に <literal>php.exe</literal>
- があるディレクトリの実行権限を与えてください。
+ Stop IIS completely
</simpara>
</listitem>
+ <listitem>
+ <simpara>
+ Start IIS again
+ </simpara>
+ </listitem>
</itemizedlist>
</para>
-
</sect2>
-
</sect1>
<sect1 id="install.netscape-enterprise">
@@ -3628,8 +3973,8 @@
ル手順
from: [EMAIL PROTECTED]
- 1. www.sunfreeware.com または他の
-
ダウンロードサイトから以下のパッケージをインストールして下さい
+1. www.sunfreeware.com
+または他のダウンロードサイトから以下のパッケー
+ ジをインストールして下さい
flex-2_5_4a-sol26-sparc-local
gcc-2_95_2-sol26-sparc-local
@@ -3643,9 +3988,9 @@
mysql-3.23.24-beta (mysql サポートを使用する場合)
tar-1.13 (GNU tar)
- 2.
適当なディレクトリがパスに含まれているかどうかを確認下さい
- PATH=.:/usr/local/bin:/usr/sbin:/usr/bin:/usr/ccs/bin
- export PATH
+2.
+適当なディレクトリがパスに含まれているかどうかを確認下さい
+ PATH=.:/usr/local/bin:/usr/sbin:/usr/bin:/usr/ccs/bin
+ export PATH
3. gunzip php-x.x.x.tar.gz (.gz配布の場合、そうでない場合は4へ進む)
4. tar xvf php-x.x.x.tar
@@ -3788,9 +4133,97 @@
<simpara>
PHPと共に実行したい各拡張機能毎に手順 2~6
を繰り返します。
</simpara>
+ </sect2>
+ </sect1>
+ <sect1 id="install.oreilly">
+ <title>Oreilly Website Pro Server installs</title>
+ <para>
+ This section contains notes and hints specific to Oreilly
+ Website Pro.
+ </para>
+ <sect2 id="install.oreilly.windows">
+ <title>Oreilly Website Pro 2.5 and up for Windows</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.
+ </simpara>
+
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ Edit the Server Properties and select the tab "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).
+ </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).
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
</sect2>
-
+ </sect1>
+
+ <sect1 id="install.xitami">
+ <title>Xitami Server installs</title>
+ <para>
+ This section contains notes and hints specific to Xitami.
+ </para>
+ <sect2 id="install.xitami.windows">
+ <title>Xitami for Windows</title>
+
+ <simpara>
+ This list describes how to set up the PHP CGI binary
+ to work with Xitami on Windows.
+ </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.
+ </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).
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ In Filter command or script put the path and name
+ of your php executable i.e. c:\php\php.exe.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Press the 'Save' icon.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </sect2>
</sect1>
<sect1 id="install.otherhttpd">
@@ -3800,6 +4233,8 @@
す。サーバーに関係する設定オプションの完全なリストについては、
<link linkend="install.configure.servers">サーバーに関係した
オプション</link> を参照下さい。
+ The PHP CGI binaries are compatible with almost all
+ webservers supporting the CGI interface.
</para>
</sect1>
@@ -3855,16 +4290,17 @@
<title>国際化関数について</title>
<simpara>
-
国際化関数を有効にすることにより、日本語処理時の漢字コード自動変換機能を
- 始めとする有用な機能が利用可能になります。
+
+国際化関数を有効にすることにより、日本語処理時の漢字コード自動変
+
+換機能を始めとする有用な機能が利用可能になります。(国際化版のPHP
+ のみ対応)
</simpara>
<sect3 id="i18n-abstract">
<title>国際化関数の入手</title>
<para>
- PHP
国際化パッケージは、「PHP3国際化チーム」により現在テスト中で、
- <ulink url="http://www.happysize.co.jp/techie/php-ja-jp/">
- http://www.happysize.co.jp/techie/php-ja-jp/</ulink>
+ PHP
+国際化パッケージは、「PHP国際化プロジェクト」により開発され、
+ <ulink url="http://php.jpnnet.com/">
+ http://php.jpnnet.com/</ulink>
または
<ulink url="ftp://ftp.happysize.co.jp/php-ja-jp/">
ftp://ftp.happysize.co.jp/php-ja-jp/</ulink>で手に入ります。