Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


php8.2_on_rocky_linux_8

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
php8.2_on_rocky_linux_8 [2024/01/01 00:11] juckinsphp8.2_on_rocky_linux_8 [2024/01/17 17:28] (current) juckins
Line 8: Line 8:
   dnf install dnf-utils http://rpms.remirepo.net/enterprise/remi-release-9.rpm   dnf install dnf-utils http://rpms.remirepo.net/enterprise/remi-release-9.rpm
   dnf module reset php   dnf module reset php
 +  dnf module list php
   dnf module enable php:remi-8.2   dnf module enable php:remi-8.2
   dnf install php php-cli php-mysqlnd php-opcache php-pdo php-pecl-mcrypt php-sodium   dnf install php php-cli php-mysqlnd php-opcache php-pdo php-pecl-mcrypt php-sodium
Line 33: Line 34:
   php-pecl-zip   php-pecl-zip
  
 +If you want to go back down a version, follow the steps above to reset/list/enable the version you want.  Then ''rpm -qa |grep php'' to find the packages that need to be downgraded to the previous version.  Remove all those RPMs.  Then do the ''dnf install php'' packages command to get the version you desire.  
  
php8.2_on_rocky_linux_8.1704085880.txt.gz · Last modified: 2024/01/01 00:11 by juckins