title: Concrete 5.8.2 Class 'finfo' not found
body: <p>I have searched the web and I have searched my server I am unable to find the php.ini for my site. I am getting the following error for my site. </p>
  
  <blockquote>
    <p>Class 'finfo' not found
    Details
    G:\inetpub\wwwroot\landoll.com\concrete\vendor\league\flysystem\src\Adapter\Local>.php(311): Whoops\Exception\ErrorException->null</p>
  </blockquote>
  
  <pre><code>   public function getMimetype($path)
  {
      $location = $this-&gt;applyPathPrefix($path);
      $finfo = new Finfo(FILEINFO_MIME_TYPE); /*This is Line 311*/
      $mimetype = $finfo-&gt;file($location);
  
      if (in_array($mimetype, ['application/octet-stream', 'inode/x-empty'])) {
          $mimetype = Util\MimeType::detectByFilename($location);
      }
  
      return ['path' =&gt; $path, 'type' =&gt; 'file', 'mimetype' =&gt; $mimetype];
  }
  </code></pre>