fix typo
remove php_flag like downloader does

fixes apache error if not allowed
make php cli path configurable

defaulting to 'php' but with possiblity to use different installation/version in /usr/local or something
allow check-config for admin if logged in