v1.0.0

PHP

# Install PHP

Enable crb config

sudo dnf config-manager --set-enabled crb

Install EPEL repository

sudo dnf install \
https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm \
https://dl.fedoraproject.org/pub/epel/epel-next-release-latest-9.noarch.rpm

Enable Remi repository

sudo dnf install dnf-utils http://rpms.remirepo.net/enterprise/remi-release-9.rpm -y

Upgrade system

sudo dnf upgrade --refresh -y

Show list module of PHP

sudo dnf module php

Enable a module from list

sudo dnf module enable php:remi-8.1 -y

Install PHP service

sudo dnf install php -y

Install extension for PHP

sudo dnf install php-cli php-curl php-mysqlnd php-gd php-opcache php-zip php-intl php-common php-bcmath php-imap php-imagick php-xmlrpc php-json php-readline php-memcached php-redis php-mbstring php-apcu php-xml php-dom php-redis php-memcached php-memcache -y

Check PHP version

php -v