Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 639
psuresh Avatar asked Jun 08 '17 03:06

psuresh


People also ask

How do I enable Fileinfo extension in PHP INI in cPanel?

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


1 Answers

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.

like image 188
Aarej Avatar answered Nov 15 '22 05:11

Aarej