title: How do I upgrade PHP from 7.2 to 7.3 using the yum command on CentOS?
body: <p>I am running an EC2 server on AWS and I was looking into upgrading php from 7.2 to 7.3. However, all the tutorials I found were on Ubuntu and they all used the <code>apt</code> command instead of <code>yum</code>.</p>
  
  <p>I also ran the command <code>cat /etc/os-release</code> to find out what the operating system of my server is and the ID_LIKE line said <code>ID_LIKE="centos rhel fedora"</code>.</p>
  
  <p>I found instructions on the upgrade that are relatively simple on Ubuntu.
  Does anyone know how I would translate the following commands for CentOS using <code>yum</code> instead of <code>apt</code> on Ubuntu?</p>
  
  <pre><code>sudo apt-get install software-properties-common
  sudo add-apt-repository ppa:ondrej/php
  sudo apt-get update
  sudo apt-get upgrade
  sudo apt-get install -y php7.3
  </code></pre>