I am getting the following error after cloning my project to rebuild it with
composer install and I get the following error
I am working with laravel-valet when I install laravel I have no problem, and when I execute
composer everything works fine please any help
AnswerToo many ads?
It is possible that php-cli is not enabled, you can enable it this way
sudo phpenmod gd
I guess you are using the ppa: ondrej php package (7.1), which confuses you with the default ubuntu 14.04 php package (7.7.1).
To install the php 7.1 gd library from ppa: ondrej, you must use:
sudo apt-get install php5.6-gd
I hope it helps you to solve the problem you are having.