added support for multiple directories in $PHP_VERSIONS
added sbin path to $PATH

This is necessary for php-fpm
added support for X.Y version format