I am trying to install php 5.6 on centos 8. I understand it is no longer supported (eol), but due to an old project, it needs it. I have tried:
sudo dnf --enablerepo=remi install php56
Installs with no issue, hitting localhhost/ throws an error Running php --version gives me an error
bash: /usr/bin/php: No such file or directory
Howver running php56 --version works.
How do i make it such that any reference to php will use php56?