差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン最新のリビジョン両方とも次のリビジョン | ||
ja:documentation:07_technical_annexes:18_php_8 [2023/01/06 06:59] – [CentOS 7] junichi | ja:documentation:07_technical_annexes:18_php_8 [2023/03/01 08:09] – [CentOS 7] junichi | ||
---|---|---|---|
行 80: | 行 80: | ||
</ | </ | ||
+ | |||
+ | ===== RHEL 7 ===== | ||
+ | |||
+ | <WRAP center round tip 75%> | ||
+ | |||
+ | To upgrade to PHP 8 in RHEL 7 [[https:// | ||
+ | |||
+ | </ | ||
+ | |||
+ | <WRAP center round tip 75%> | ||
+ | |||
+ | RHEL 7 で PHP 8 にアップグレードするには、[[https:// | ||
+ | |||
+ | </ | ||
===== Rocky Linux 8/AlmaLinux 8/RHEL 8 ===== | ===== Rocky Linux 8/AlmaLinux 8/RHEL 8 ===== | ||
行 86: | 行 100: | ||
* リポジトリを設定します。 | * リポジトリを設定します。 | ||
- | < | + | < |
dnf module reset php -y | dnf module reset php -y | ||
dnf module enable php: | dnf module enable php: | ||
行 95: | 行 109: | ||
* PHP をインストールします。 | * PHP をインストールします。 | ||
- | < | + | < |
dnf install -y php php-fpm | dnf install -y php php-fpm | ||
行 103: | 行 117: | ||
* 依存ファイルをインストールします。 | * 依存ファイルをインストールします。 | ||
- | < | + | < |
dnf install -y \ | dnf install -y \ | ||
| | ||
行 111: | 行 125: | ||
</ | </ | ||
+ | |||
+ | * Restart php-fpm | ||
+ | |||
+ | * php-ftm を再起動します。 | ||
+ | |||
+ | <code bash> | ||
+ | systemctl restart php-fpm | ||
+ | </ | ||
+ | |||
* Verify the version installed: | * Verify the version installed: | ||
* インストールしたバージョンを確認します。 | * インストールしたバージョンを確認します。 | ||
- | < | + | < |
php --version | php --version | ||