added support for multiple directories in $PHP_VERSIONS