fcgiwrap: 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 Debian possible default full paths are:

/usr/sbin/fcgiwrap - from package: fcgiwrap

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