'Return version of Apache Server.
Version is returned as tuple. (ie. 2.4.7 = (2, 4, 7))
:returns: version
:rtype: tuple
:raises .PluginError: if unable to find Apache version'

def get_version(self):

    try:
        (stdout, _) = util.run_script(constants.os_constant('version_cmd'))
    except errors.SubprocessError:
        raise errors.PluginError(('Unable    to    run    %s    -v' % constants.os_constant('version_cmd')))
    regex = re.compile('Apache/([0-9\\.]*)', re.IGNORECASE)
    matches = regex.findall(stdout)
    if (len(matches) != 1):
        raise errors.PluginError('Unable    to    find    Apache    version')
    return tuple([int(i) for i in matches[0].split('.')])
