- Plesk for Linux
How to use non-standard (non-OS vendor) version of PHP in command-line interface?
Connect to the server via SSH;
Run the following command to check all available versions of PHP:
# plesk bin php_handler --list
Then, choose the binary (including path) from the column php-cli, for example:
Note: Use the full path to launch binary in the command-line interface, like it is shown above: