Quantcast
Channel: Plesk Forum
Viewing all articles
Browse latest Browse all 46270

Set default php-version for command line

$
0
0
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...

Set default php-version for command line

Viewing all articles
Browse latest Browse all 46270

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>