title: Intervention/Image requires FileInfo
body: <p>Im having trouble with Intervention/image, Laravel <code>#composer install</code></p>
  
  <pre><code>- intervention/image 2.1.1 requires ext-fileinfo * -&gt; the requested PHP
  extension fileinfo is missing from your system.
  </code></pre>
  
  <p>I understand that it is trying to retrieve the extension <code>fileinfo</code> however I am having 0 luck with getting the extension to load. </p>
  
  <p>I believe that as of PHP 5.4 the extension <code>fileinfo</code> is automatically enabled, however it isnt showing up in <code>#php -m</code> modules. </p>
  
  <p><code>#pecl install fileinfo</code> doesnt work either because my php version doesnt suit any versions of <code>fileinfo</code>.</p>
  
  <p><strong>My PHP version is:</strong></p>
  
  <pre><code>PHP 5.4.37 (cli)
  </code></pre>
  
  <p><strong>Operating System:</strong></p>
  
  <pre><code>Linux
  CentOS 6.5 cPanel 11.46 / Softaculous x64
  </code></pre>
  
  <hr>
  
  <p>Ive tried adding </p>
  
  <pre><code>extension = "fileinfo.so"
  </code></pre>
  
  <p>to the <em>php.ini</em> however to no luck, it does nothing. </p>
  
  <p><strong>NOTE:</strong> I managed to get the extension for windows version of php 5.4 working... Its just when I have uploaded my website to my server, I have been unable to get it to load, well get that library (<em>Intervention/Image</em>) to load. </p>
  
  <hr>
  
  <p>Other details:</p>
  
  <ul>
  <li>Server is a <strong>VPS</strong> with access to <strong>WHM</strong> and <strong>cPanel</strong></li>
  <li>Website works. Everything except the Intervention/Image</li>
  </ul>