"yum install php php-mysql" code example
Example: yum install php-mysql
#install php & php-mysql extension
sudo yum install php php-mysql
#restart web server
sudo systemctl restart httpd.service
#install php & php-mysql extension
sudo yum install php php-mysql
#restart web server
sudo systemctl restart httpd.service