[+]: use $_ENV paramerter for "phpserver"
[!]: fixed some functions for zsh