php - Error when trying to run composer install in a Laravel 5 project -


i try run composer install install dependencies in laravel 5 project, got error:

$ composer install loading composer repositories package information installing dependencies (including require-dev) lock file requirements not resolved installable set of packages.    problem 1     - installation request intervention/image 2.3.4 -> satisfiable intervention/image[2.3.4].     - intervention/image 2.3.4 requires ext-fileinfo * -> requested php extension fileinfo missing system. 

i've heard folks adding in php.ini file, don't know php.ini should configured, since have 2 php.ini files, 1 in xampp , 1 in iisexpress. don't know how solve problem, please appreciated. thanks.

i moved composer , started getting same error. removed php7.0 , install 7.1 , fixed issue. i'm have run below command 7.0 , have solved issue too.

7.1

sudo apt install -y php7.1 php7.1-cli php7.1-common libapache2-mod-php7.1 php7.1-mysql php7.1-fpm php7.1-curl php7.1-gd php7.1-bz2 php7.1-mcrypt php7.1-json php7.1-tidy php7.1-mbstring php-redis php-memcached 

7.0

sudo apt install -y php7.0 libapache2-mod-php7.0 php7.0-cli php7.0-common php7.0-mbstring php7.0-gd php7.0-intl php7.0-xml php7.0-mysql php7.0-mcrypt php7.0-zip php7.0-fpm php7.0-bz2 php7.0-json php7.0-tidy php-redis  php-memcached  

Comments