SSHでPHPバージョンアップ

$ find /usr/local/php*/bin/php

$ vi ~/.bash_profile

PATH=/usr/local/php7.4/bin:$PATH
export PATH

:wq

$ source ~/.bash_profile

$ php -v