PHP Fileinfo extension must be installed/enabled to use Intervention Image

Suresh Pokharel

I've used intervention image package in Laravel 5 project. It is working in local server. Now when I uploaded in shared server via cpanel, I am getting error:

MissingDependencyException in ImageManager.php line 123:
PHP Fileinfo extension must be installed/enabled to use Intervention Image.

Server has PHP Version 5.6.19

I went through requires ext-fileinfo. How do I add that into my composer.json file? but couldn't get solution. Where is the php.ini file inside my cpanel?

Aarej

You can enable fileinfo extension from cpanel 1 Go to SOFTWARE=>Select PHP Version=>fileinfo check box and enable fileinfo extension. You can see in image.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

PHP Warning: Xdebug MUST be loaded as a Zend extension

Intervention/Image requires FileInfo

php extension mcrypt must be loaded

Cannot save image intervention image. NotWritableException in Image.php line 138

ReflectionException in Container.php Class image does not exist for intervention

Enable fileinfo extension

Laravel Intervention Image GD library extension

Use laravel storage with Image intervention canvas()

Laravel file download - php_fileinfo extension not enabled

PHP Find extension of image from url with no extension

PHP Intervention-image, avoid none image and exceptions to crash execution

Intervention Image broken in Vue

Edit uploaded image with Intervention

Image Intervention Image on Laravel

Laravel image intervention compression

Errors with intervention\image

php laravel What is the Stream() function in image intervention

Programmatically (PHP) save image with no extension

image Intervention error

Intervention image on Heroku

"Cannot use Intervention\Image\Facades\Image as Image because the name is already in use"

"PHP Fileinfo extension must be installed/enabled to use Intervention Image." error

Save value Base64 to Image PNG use Intervention image Laravel Storage

Replace a color in intervention image

Enable the php_fileinfo extension?

Unable to guess the MIME type as no guessers are available. How do I install php_fileinfo extension in cPanel?

How can I install extension php_fileinfo in my php.ini in Windows 10

intervention image in Laravel 8

can not find *"extension=php_fileinfo.dll"* in my php.ini file?