framework/requirements/YiiRequirementChecker.php
function checkPhpIniOff($name)
    {
        $value = ini_get($name);
        if (empty($value)) {
            return true;
        }

        return (strtolower($value) === 'off');
    }
function checkPhpIniOff($name)
    {
        $value = ini_get($name);
        if (empty($value)) {
            return true;
        }

        return (strtolower($value) === 'off');
    }
Checks if PHP configuration option (from php.ini) is off.
@param string $name configuration option name.
@return bool option is off.