php8.2_on_rocky_linux_8
This is an old revision of the document!
PHP 8.2 on Rocky Linux 9
Follow notes at Remi's RPM Repo Blog and linuxcapable.com
dnf config-manager --set-enabled crb dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm dnf install https://dl.fedoraproject.org/pub/epel/epel-next-release-latest-9.noarch.rpm dnf install dnf-utils http://rpms.remirepo.net/enterprise/remi-release-9.rpm dnf module reset php dnf module install php:remi-8.2 dnf install php-mysqlnd php-opcache php-pdo php-pecl-mcrypt php-sodium
Run php -v
to verify correct version is installed.
After the install, these PHP packages should be on the system:
oniguruma5php-6.9.8-1.el9.remi.x86_64 php-cli-8.2.7-2.el9.remi.x86_64 php-common-8.2.7-2.el9.remi.x86_64 php-fpm-8.2.7-2.el9.remi.x86_64 php-mbstring-8.2.7-2.el9.remi.x86_64 php-mysqlnd-8.2.7-2.el9.remi.x86_64 php-opcache-8.2.7-2.el9.remi.x86_64 (this may not be needed) php-pdo-8.2.7-2.el9.remi.x86_64 php-pecl-mcrypt-1.0.6-1.el9.remi.8.2.x86_64 php-sodium-8.2.7-2.el9.remi.x86_64 php-xml-8.2.7-2.el9.remi.x86_64
One of my VMs had these installed, but I removed them:
php-gd php-ldap php-opcache php-pecl-zip
php8.2_on_rocky_linux_8.1687446253.txt.gz · Last modified: 2023/06/22 11:04 by juckins