How to enforce the php version used by composer? (PHP 5.6 – 8.0)

On Smarthost servers, various PHP versions are available, from 5.6 to 8.4, which can be used depending on your needs, including for Composer and other PHP-based applications. Hosting accounts also allow you to manually run any PHP version via SSH. We have prepared a guide that shows how to do this: https://blog.smarthost.eu/how-to-install-wp-cli-on-smarthost-eu-servers


Cookies settings

Your current state

Show details