Code in this video: How to Install and Configure LAMP Stack on CentOS | CentOS Stream | RockyLinux | AlmaLinux | RHEL
###Code in this video
sudo setenforce 0 && sudo sed -i
'
s/^SELINUX=.*/SELINUX=permissive/g'
/etc/selinux/configsudo firewall-cmd –permanent –zone=public –add-service=http
sudo firewall-cmd –permanent –zone=public –add-service=https
sudo firewall-cmd –reload
sudo dnf install php php-fpm php-mysqlnd php-opcache php-gd php-xml php-mbstring -y