Yum install php 7.4

#first update 
sudo yum -u update
#to install php
sudo yum insall php
Ahmed