Install php7.3
yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install -y http://rpms.remirepo.net/enterprise/remi-release-7.rpm
yum install -y yum-utils
yum-config-manager --enable remi-php73
yum install php php-fpm php-cli php-curl php-dom php-fileinfo php-gd php-json php-ldap php-mbstring php-mcrypt php-mysql php-opcache php-tokenizer php-xmlwriter php-zip
systemctl enable php-fpm
systemctl start php-fpm
Install MySQL 8
yum localinstall -y https://repo.mysql.com//mysql80-community-release-el7-1.noarch.rpm
yum install -y mysql-community-server
systemctl enable mysqld
systemctl start mysqld
# view temporary root password
grep 'temporary password' /var/log/mysqld.log
set global validate_password.policy=0;
set global validate_password.length=6;