AlmaLinux / Rocky Linux / RHEL 系の場合
モジュールのリセットと有効化(例: PHP 8.1から8.3へ)
# dnf module reset php
# dnf module enable php:remi-8.3
パッケージの同期・アップデート
# dnf distro-sync –refresh –allowerasing
サービスの再起動
# systemctl restart php-fpm
# systemctl restart httpd
2026/10 PHP問題対策例
