Use Path to PHP 7 to run a command vs OS PHP
When needing to run a command in a different version on php. Where is the path to php 7 on cpanel? How to specify command line command “php” version for SSH user on the Plesk server? See: https://support.plesk.com/hc/en-us/articles/115003766853-How-to-specify-PHP-version-on-the-Plesk-server-for-command-line-command-php-for-user- set the path – https://stackoverflow.com/questions/31206864/use-different-php-version-cli-executable-for-one-command