-
Notifications
You must be signed in to change notification settings - Fork 82
doc-enの差分を反映(3) #141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
doc-enの差分を反映(3) #141
Changes from 8 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
e9b1d1e
Move/rewrite much of the macOS and Unix install instructions
zonuexe 0e4c817
Specify C11 requirement since 8.4
zonuexe 6a1d7b2
fixup! Move/rewrite much of the macOS and Unix install instructions
zonuexe 3792908
fixup! Move/rewrite much of the macOS and Unix install instructions
zonuexe c570ad3
Fix DocBook 5.2 RelaxNG violations
zonuexe 1acbc84
fixup! Fix DocBook 5.2 RelaxNG violations
zonuexe 9795df5
表記揺れ s/拡張機能/拡張モジュール/g
zonuexe 08577c4
Add me (@zonuexe) to translation.xml
zonuexe eb94fa2
Update install/unix/dnf.xml
zonuexe ceb8fd9
Update install/unix/dnf.xml
zonuexe 2d65efa
Update install/unix/index.xml
zonuexe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,110 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <!-- $Revision$ --> | ||
| <!-- EN-Revision: 4cb53ecbd763db2db808e90d7eda63afb380e6df Maintainer: zonuexe Status: ready --> | ||
| <sect1 xml:id="install.unix.dnf" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> | ||
| <title>DNF を使用する GNU/Linux ディストリビューションでのパッケージからのインストール</title> | ||
| <simpara> | ||
| PHP はソースコードからインストールできますが、Red Hat Enterprise Linux、 | ||
| OpenSUSE、Fedora、CentOS、Rocky Linux、Oracle Enterprise Linux のような | ||
| DNF を使用するシステム上のパッケージからインストールすることもできます。 | ||
| </simpara> | ||
| &warn.install.third-party-support; | ||
| <simpara> | ||
| パッケージは <command>dnf</command> コマンドでインストールできます。 | ||
| </simpara> | ||
| <sect2 xml:id="install.unix.dnf.packages"> | ||
| <title>Installing packages</title> | ||
| <simpara> | ||
| まず、<link xlink:href="&url.pear;">PEAR</link> には <literal>php-pear</literal>、 | ||
| <link linkend="book.mysqlnd">MySQL 拡張</link> には <literal>php-mysqlnd</literal> | ||
| など、 他の関連パッケージが必要になる場合があることに気をつけてください。 | ||
| </simpara> | ||
| <simpara> | ||
| 次に、パッケージをインストールする前に、パッケージリストが最新であることを確認するのが賢明です。 | ||
| 通常、これは <command>dnf update</command> コマンドを実行して行います。 | ||
| </simpara> | ||
| <example xml:id="install.unix.dnf.example"> | ||
| <title>DNF インストールの例</title> | ||
| <programlisting role="shell"> | ||
| <![CDATA[ | ||
| # dnf install php php-common | ||
| ]]> | ||
| </programlisting> | ||
| </example> | ||
| <simpara> | ||
| DNF は Web サーバー に自動的に PHP のための設定をインストールしますが、 | ||
| 変更を有効化するには、以下のようなコマンドでサーバーの再起動が必要になる場合があります。 | ||
| </simpara> | ||
| <example xml:id="install.unix.dnf.example2"> | ||
| <title>Restarting Apache once PHP is installed</title> | ||
| <programlisting role="shell"> | ||
| <![CDATA[ | ||
| # sudo systemctl restart httpd | ||
| ]]> | ||
| </programlisting> | ||
| </example> | ||
| </sect2> | ||
| <sect2 xml:id="install.unix.dnf.config"> | ||
| <title>設定のよりよい管理方法</title> | ||
| <para> | ||
| これまでのセクションでは、PHP はコアモジュールのみをインストールしました。 | ||
| 次のような追加モジュールが必要になる可能性が非常に高くなります。 | ||
| <simplelist type="inline"> | ||
| <member><link linkend="book.mysql">MySQL</link></member> | ||
| <member><link linkend="book.curl">cURL</link></member> | ||
| <member><link linkend="book.image">GD</link></member> | ||
| <member>などなど…</member> | ||
| </simplelist> | ||
| これらのモジュールも <command>dnf</command> コマンドでインストールできます。 | ||
| </para> | ||
| <example xml:id="install.unix.dnf.config.example"> | ||
| <title>追加の PHP パッケージを一覧する方法</title> | ||
| <programlisting role="shell"> | ||
| <![CDATA[ | ||
| # dnf search php | ||
| ]]> | ||
| </programlisting> | ||
| </example> | ||
| <simpara> | ||
| パッケージのリストには、<literal>php-cli</literal>、<literal>php-fpm</literal>、 | ||
| <literal>php-devel</literal> などの基本的な PHP コンポーネントや、多くの PHP | ||
| 拡張モジュールを含む数多くのパッケージが含まれています。拡張モジュールがインストールされると、 | ||
| それらのパッケージの依存関係を満たすために、 | ||
| 必要に応じて追加のパッケージが自動的にインストールされます。 | ||
| </simpara> | ||
| <example xml:id="install.unix.dnf.config.example2"> | ||
| <title>Install PHP with MySQL, GD</title> | ||
| <programlisting role="shell"> | ||
| <![CDATA[ | ||
| # dnf install php-mysqlnd php-gd | ||
| ]]> | ||
| </programlisting> | ||
| </example> | ||
| <simpara> | ||
| DNF は、<filename>/etc/php/8.3/php.ini</filename>、<filename>/etc/php/8.3/conf.d/*.ini</filename> | ||
| などのさまざまな &php.ini; 関連ファイルに適切な行を自動的に追加し、 | ||
| 拡張子に応じて <literal>extension=foo.so</literal> のようたエントリを追加します。 | ||
| ただし、これらの変更の有効化にするには、Web サーバー (Apache など) を再起動しなければなりません。 | ||
zonuexe marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| </simpara> | ||
| </sect2> | ||
| </sect1> | ||
| <!-- Keep this comment at the end of the file | ||
| Local variables: | ||
| mode: sgml | ||
| sgml-omittag:t | ||
| sgml-shorttag:t | ||
| sgml-minimize-attributes:nil | ||
| sgml-always-quote-attributes:t | ||
| sgml-indent-step:1 | ||
| sgml-indent-data:t | ||
| indent-tabs-mode:nil | ||
| sgml-parent-document:nil | ||
| sgml-default-dtd-file:"~/.phpdoc/manual.ced" | ||
| sgml-exposed-tags:nil | ||
| sgml-local-catalogs:nil | ||
| sgml-local-ecat-files:nil | ||
| End: | ||
| vim600: syn=xml fen fdm=syntax fdl=2 si | ||
| vim: et tw=78 syn=sgml | ||
| vi: ts=1 sw=1 | ||
| --> | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.