Thursday, January 09, 2025

install php 8.1 & MariaDB on CentOS 7

yum-config-manager --disable 'remi-php*'
yum-config-manager --enable remi-php81
yum install php




vim /etc/yum.repos.d/MariaDB.repo

[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.6/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1

yum install MariaDB-server

No comments:

install php 8.1 & MariaDB on CentOS 7

yum-config-manager --disable 'remi-php*' yum-config-manager --enable remi-php81 yum install php vim /etc/yum.repos.d/MariaDB....