Perguntas Frequentes
# Adiciona Epel repositorio para o phpmyadmin
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY*
yum -y install epel-release
# Install MySQL/MariaDB 5.6
yum -y install mariadb-server mariadb
systemctl start mariadb.service
systemctl enable mariadb.service
mysql_secure_installation
# Install Apache 2.4
yum -y install httpd
systemctl start httpd.service
systemctl enable httpd.service
# Config Firewall
firewall-cmd --permanent --zone=public --add-service=http
firewall-cmd --permanent --zone=public --add-service=https
firewall-cmd --reload
# Install PHP 7.4
Instalar o repositorio do REMI
rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm
yum -y install yum-utils
yum-config-manager --enable remi-php74
yum update
yum install php php-cli php-fpm php-mysqlnd php-zip php-devel php-gd php-mcrypt php-mbstring php-curl php-xml php-pear php-bcmath php-json (instala modulos)
php -v (Verifica versão instalada)
php --modules (verifica modulos disponiveis)
systemctl restart httpd.service
# Suporte PHP/MySQL
yum -y install php-mysqlnd php-pdo
yum -y install php-gd php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-soap curl curl-devel
systemctl restart httpd.service