I've got an old WordPress site that I've downloaded from a while ago and it will only work on php5.6.. I have installed php5.6 to the server on Amazon Linux 2. How would I go about setting the default php version?
When I try the command "php" on SSH, it doesn't work, however "php56" does, I'm not sure if this is an issue but this confirms it's installed.
Also, I use Webmin and Apache on an Amazon Linux 2 system.
Cheers, Jack