PHP version change
The PHP version for the site changes in the server control panel:
VestaCP control panel does not have built-in tools for connecting modules and configuring PHP parameters. Tuning is performed in manual mode.
Changing PHP version in console
To use a specific version of PHP when working from the console, use the PHP interpreter at:
/opt/php**/bin,
where ** is the PHP version.
For example, to use PHP 7.1 when executing the script, enter:
/opt/php7.1/bin/php script-name.php
You can specify the PHP version with or without a period. For example 7.1 or 71.
You can view PHP assemblies in the /opt directory.
If you have any questions, please create a ticket to technical support.