phar: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/phar - from package: php54w-cli
/usr/bin/phar - from package: php55w-cli
/usr/bin/phar - from package: php56w-cli
/usr/bin/phar - from package: php70w-cli
/usr/bin/phar - from package: php-cli

You may install the required package with command yum install {package}
Error in other languages:
phar: bevel nie gevind nie
phar: comandă negăsită
phar: comando não encontrado
phar: commande introuvable
phar: command not found
phar: käsku ei ole
phar: không tìm thấy lệnh
phar: komanda nerasta
phar: Kommando nicht gefunden.
phar: kommandot finns inte
phar: komut yok
phar: nie znaleziono polecenia
phar: níor aimsíodh an t-ordú
phar: no se encontró la orden
phar: no s'ha trobat l'ordre
phar: opdracht niet gevonden
phar: parancs nem található
phar: perintah tidak ditemukan
phar: príkaz nenájdený
phar: příkaz nenalezen
phar: команда не найдена
phar: командата не е открита
phar: 命令找不到
phar: コマンドが見つかりません