Rocky Linux 9[edit]
Remi repository[edit]
PHP-8.2.28[edit]
dnf install dnf-utils http://rpms.remirepo.net/enterprise/remi-release-9.rpm
dnf repolist
dnf module reset php
dnf module enable php:remi-8.2
dnf module list php
php -v
dnf rm php*
dnf install php
dnf install php-zip php-mysqlnd
dnf install php-pear php-devel
php -v
php-8.2.25 Remi Repository の方が良い[edit]
dnf module list php
dnf -y module install php:8.2
dnf install mod_ssl mod_ldap
php -v
dnf install certbot
curl -LsS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash -s -- --mariadb-server-version=11.2
dnf -q module disable mariadb
dnf module reset mariadb
dnf rm mariadb
dnf install MariaDB-server MariaDB-client MariaDB-backup vim
mariadb -V
PHP 入れ直し