Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


Rocky Linux 9 PHP 8.1 Upgrade

Follow procedure at

dnf config-manager --set-enabled crb
dnf install 
dnf install
dnf install dnf-utils
dnf remove php php-fpm
dnf remove php*
dnf module list reset php
dnf module list php
dnf module enable php:remi-8.1
dnf install php php-mbstring php-mysqlnd php-pecl-mcrypt php-pecl-mysql

Now check for installed version of PHP:

php -v

For issues running PHP, check Rocky Linux PHP 8.1 Upgrade for workarounds.

php8.1_upgrade.txt · Last modified: 2022/09/29 14:51 by juckins