How to configure a specific command line PHP version for an SSH user on a Plesk for Linux server?
Alternatively, it’s possible to install other PHP versions from Plesk and to execute those on the command line it’s required to call the full binary path. It call a specific path run find the version of the PHP if the bach command is not work.
# /opt/plesk/php/7.4/bin/php -v
# find /opt/plesk/php/*/bin/php
If you need any help contact our support, Open support ticket from client area