CentOS installed php72 but command line php isn not working : <p>I'm reading the following tutorial on installing PHP 7.2 on CentOS 7 <a href="https://www.cyberciti.biz/faq/how-to-install-php-7-2-on-centos-7-rhel-7/" rel="noreferrer">https://www.cyberciti.biz/faq/how-to-install-php-7-2-on-centos-7-rhel-7/</a></p>

<p>It basically says;</p>

<pre><code>sudo yum install epel-release
sudo yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
sudo yum install yum-utils
sudo yum-config-manager --enable remi-php72
sudo yum update
sudo yum install php72
</code></pre>

<p>Then it says to verify the installation using the standard</p>

<pre><code>php --version
</code></pre>

<p>Which returns the following;</p>

<pre><code>-bash: php: command not found
</code></pre>

<p>BUT, if i type the following;</p>

<pre><code>php72 --version
</code></pre>

<p>It works just fine and returns the version.</p>

<p>The problem is that everything relies on the command php and not php72</p>

<p>Any idea on what i should be doing?</p>
