gittool.php: 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/share/dokuwiki/bin/gittool.php - from package: dokuwiki

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

On Debian possible default full paths are:

/usr/share/dokuwiki/bin/gittool.php - from package: dokuwiki

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