Intervention/Image requires FileInfo

php fileinfo extension must be installed/enabled to use intervention image
required fileinfo php extension
how to enable php fileinfo extension in laravel
intervention\image\exception\missingdependencyexception
how to install php fileinfo extension in cpanel
the optional module fileinfo is not installed, or has been disabled
league flysystem requires ext fileinfo
composer require intervention/image

Im having trouble with Intervention/image, Laravel #composer install

- intervention/image 2.1.1 requires ext-fileinfo * -> the requested PHP
extension fileinfo is missing from your system.

I understand that it is trying to retrieve the extension fileinfo however I am having 0 luck with getting the extension to load.

I believe that as of PHP 5.4 the extension fileinfo is automatically enabled, however it isnt showing up in #php -m modules.

#pecl install fileinfo doesnt work either because my php version doesnt suit any versions of fileinfo.

My PHP version is:

PHP 5.4.37 (cli)

Operating System:

Linux
CentOS 6.5 cPanel 11.46 / Softaculous x64

Ive tried adding

extension = "fileinfo.so"

to the php.ini however to no luck, it does nothing.

NOTE: 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 (Intervention/Image) to load.


Other details:

  • Server is a VPS with access to WHM and cPanel
  • Website works. Everything except the Intervention/Image

I've bumped to the same issue, and after couple of hours of searching for a solution, I've followed this tutorial: https://www.opensource-excellence.com/blog/item/464-how-to-install-fileinfo-in-whm.html, and it works :)

After rebuilding Apache, fileinfo extension is loaded, and intervention image package successfully installed via composer.

Intervention image composer problem laravel., 9 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system. - intervention/image 2.3.8 requires ext-fileinfo * -> the requested PHP  - intervention/image 2.2.2 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system. - intervention/image 2.2.1 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.

go to 'Select PHP version ' under Software section in your cPanel. Then check fileinfo checkbox. Then save. That's it.

intervention/image 2.3.7 requires ext-fileinfo, intervention/image 2.3.7 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system. Posted 3 years ago by  intervention/image 2.3.7 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system. Posted 3 years ago by kestendar Command prompt Your requirements could not be resolved to an installable set of packages.

To fix this issue, you just have to enable your fileinfo from your php configuration.

To do so :

  1. Go to php.ini in your php install folder ( for me since I used bitnami on windows, it is located at C:\Bitnami\wappstack-5.6.31-0\php )

  2. Uncomment the line ;extension=php_fileinfo.dll by removing the semicolon. ( on linux you should have extension=php_fileinfo.so )

  3. Restart php ( use the command line on unix, or on windows through the manager of the soft you use, for instance if you have bitnami it's in C:\Bitnami\wappstack-5.6.31-0 and the exe you have to use is manager-windows.exe then click on php and restart ).

This is it.

PHP extension fileinfo is missing from your system (Composer , intervention/image 2.3.5 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system. - intervention/image 2.3.4  Intervention image composer problem laravel. image 2.3.9 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system. - intervention/image 2.3.8 requires ext

Installation, Intervention Image requires the following components to work correctly. PHP >= 5.4; Fileinfo Extension. And one of the following image libraries. GD Library  - intervention/image 2.3.5 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system. - intervention/image 2.3.4 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.

Cannot Install Laravel Package, 0 requires ext-fileinfo * -> the requested PHP exte nsion fileinfo is missing from your system. - Installation request for intervention/image 2.* -> satisfiable by  Intervention Image doesn't require Laravel or any other framework at all. If you want to use it as is, you just have to require the composer autoload file to instatiate image objects as shown in the following example.

20.2.2 intervention/image 설치 시 에러 - laravel, Problem 1 - intervention/image 2.3.9 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system. - intervention/image 2.3.7 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system. - intervention/image 2.3.6 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system. - intervention/image 2.3.5 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from