I updated my server PHP version to 7.0 and I connected to the server via ssh credentials. when I type php -v in the command line interface it is showing me the PHP version is 5.4.5. i want my command line to use php 7.0. Is there any way?
@ymssrikanth sure, you just have to remove the older version, or you can create a symlink to the PHP7 exec with a different name, for example php7 -v
What OS does your server have?
Hope it helps!