#!/bin/bash
dnf module list nginx
dnf module enable nginx:1.20 -y
dnf install nginx -y
dnf module list php
dnf module enable php:7.4 -y
dnf install php php-mysqlnd php-fpm php-opcache php-gd php-xml php-mbstring php-json php-posix
yum -y install mariadb-server mariadb mariadb-devel
systemctl restart nginx mariadb php-fpm && systemctl restart nginx mariadb php-fpm