title: Centos httpd php version is different from the php version command line
body: <p>I'm on Centos7 i have enable multiple php versions with remi repo like :</p>
  <pre><code>yum-config-manager --enable remi-php56
  yum-config-manager --enable remi-php71
  yum-config-manager --enable remi-php72
  yum-config-manager --enable remi-php73
  </code></pre>
  <p>Then installed the packages :</p>
  <pre><code>yum install php{version}
  yum install php{version}-php-{extension}
  </code></pre>
  <p>I have setup PHP5.6 like :</p>
  <pre><code>sudo update-alternatives --set php /usr/bin/php56
  </code></pre>
  <p>When i make php-v :</p>
  <pre><code>PHP 5.6.40 (cli) (built: Sep 29 2020 11:38:05)
  </code></pre>
  <p>But when i'm going to my phpinfo() file i get PHP Version 7.3.23</p>
  <p>In centos/RH we can't make :</p>
  <pre><code>sudo a2enmod php56 
  </code></pre>
  <p>so i'm confusing and i don't know why httpd interpret version 7.3.23</p>
  <blockquote>
  <p>How could i setup a PHP specific version to httpd?</p>
  </blockquote>
  <p><a href="https://i.stack.imgur.com/mrZkO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mrZkO.png" alt="enter image description here" /></a></p>