import configparser


def get_php_config_value(path, section, variable):
    """ Returns the requested php.ini value

    Args:
        path: File path
        section: Section name
        variable: Requested variable name
    Returns:
         The variable value
    """
    config = configparser.ConfigParser()
    config.read(path)
    value = config[section][variable]
    return value