replace mongo version with PHP version