phploc: 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/phploc - from package: php-phpunit-phploc

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/phploc - from package: phploc

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