apache-config: 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/lib/wims/bin/apache-config - from package: wims

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