PHP library to interpolate and extract an apache virtual document root