Fabs87
New Pleskian
Hi,
I need to set the default php-version of a subscription to php7.1. Of course I've done this via the plesk onyx web interface.
But now I need to run a few php commands via ssh access. Unfortunately the php-version there is 5.5.9 (connected via ssh with my webhosting-user. SSH-access-setting is set to /bin/sh.
Logged in via ssh with my root/admin account the correct version of php is available.
Is there a way to set the version permanently to php7.1? I don't want to write /opt/plesk/php/7.1/bin/php every time I need to run php commands..
Thanks!
I need to set the default php-version of a subscription to php7.1. Of course I've done this via the plesk onyx web interface.
But now I need to run a few php commands via ssh access. Unfortunately the php-version there is 5.5.9 (connected via ssh with my webhosting-user. SSH-access-setting is set to /bin/sh.
Logged in via ssh with my root/admin account the correct version of php is available.
Is there a way to set the version permanently to php7.1? I don't want to write /opt/plesk/php/7.1/bin/php every time I need to run php commands..
Thanks!