My host has reduced the time out settings on scripts so I can't run the database upgrade at the moment so I am trying to upgrade using the CLI via Terminal on MacOS X. I can log into my server okay but when I run the script it returns an parsing error and I think this is because the SSH is using PHP 4.4.9 as a default.
PHP 7.3 is installed on the host because I use if for my website and when using the 'whereis php' command I can find these folders for PHP 7.3. Note: there are other versions but these are the only 'version agnostic' or 7.3 related folders the command reports.
My question is - can I force the SSH to run a different version of PHP; and if so what command line do I need to use in Terminal? I am not really very good at code so I am treating some of my internet searches with a bit of suspicion!/usr/bin/php
Any help would be appreciated I am at a bit of a dead end with the host who are refusing to help any further. At the moment by camera club website is offline stuck in the upgrade process.