Hello, I have a deluxe web hosting, and I need to run composer in my web project, and it requires php >= 7.0, any guide on how to update CLI php version? It's possible in deluxe? already follow this guide and I change php version to 7.1,
https://ph.godaddy.com/help/view-or-change-your-php-version-16090
web returns version 7.1, in CLI its 5.4, hopefully someone can help thanks.
Solved! Go to Solution.
solve by adding alias
alias composer="/opt/alt/php71/usr/bin/php /yourcomposerpath"
solve by adding alias
alias composer="/opt/alt/php71/usr/bin/php /yourcomposerpath"