I'm trying to install some modules through the composer.
After I enter the name of the version for installation, an error is displayed, indicating that the current version of php is lower than the version that the module requires to work.
Our site works on php7, although when using from the console, using the php -v command shows version 5.3
How can I configure my default php to be version 7 via the console?