protected function validateIni()
    {
        $data = $this->configuration;
        if (!isset($data['ini'])) {
            array_push($this->messages, ['error', trans('Unable to read php ini configuration. It is recommended to contact with your provider.')]);
            return $this;
        }
        if (empty(self::$iniRequirements)) {
            return $this;
        }
        $ini = $data['ini'];

        foreach (self::$iniRequirements as $name => $value) {
            if (!isset($ini[$name])) {
                array_push($this->messages, ['error', sprintf('Option (%s) not exists in php ini configuration.', $name)]);
            } else {
                if ($ini[$name]['global_value'] != $value) {
                    array_push($this->messages, ['warning', sprintf('Option (%s) is not same with minimal requirement. Found %s expected %s.', $name, $ini[$name]['global_value'], $value)]);
                }
            }
        }
        return $this;
    }