cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Go to solution

How to update CLI php version?

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.

1 REPLY 1
Solution

Re: How to update CLI php version?

solve by adding alias

 

alias composer="/opt/alt/php71/usr/bin/php /yourcomposerpath"