The executable seems to be named php-7.0:
$ /usr/local/bin/php-7.0 /path/to/file.php
Instead of call the fully qualified path, you could make sure that /usr/local/bin is in your $PATH, e.g.:
$ export PATH=${PATH}:/usr/local/bin
and then call php-7.0:
$ php-7.0 /path/to/file.php
whereis php?/usr/local/bin/php-7.0 folder/file. To avoidcommand not foundlater, add/usr/local/binto your$PATHvariable.php [[email protected] curerentfolder]