Bolt\Configuration\Validation\Apache::check PHP Method

check() public method

It is here only as a convenience check for users that install the basic version of Bolt. If you see this error and want to disable it, call $config->getVerifier()->disableApacheChecks(); inside your bootstrap.php file, just before the call to $config->verify(). {@inheritdoc}
public check ( Bolt\Controller\ExceptionControllerInterface $exceptionController )
$exceptionController Bolt\Controller\ExceptionControllerInterface
    public function check(ExceptionControllerInterface $exceptionController)
    {
        $request = Request::createFromGlobals();
        $serverSoftware = $request->server->get('SERVER_SOFTWARE', '');
        $isApache = strpos($serverSoftware, 'Apache') !== false;
        /** @var LowlevelChecks $verifier */
        $verifier = $this->resourceManager->getVerifier();
        if ($verifier && $verifier->disableApacheChecks === true || !$isApache) {
            return null;
        }
        $path = $this->resourceManager->getPath('web/.htaccess');
        if (is_readable($path)) {
            return null;
        }
        return $exceptionController->systemCheck(Validator::CHECK_APACHE);
    }