Skip to content

Instantly share code, notes, and snippets.

@delwar2016
Created February 15, 2017 07:28
Show Gist options
  • Save delwar2016/37026c9deb31c832a2efbaf25a1c94e1 to your computer and use it in GitHub Desktop.
Save delwar2016/37026c9deb31c832a2efbaf25a1c94e1 to your computer and use it in GitHub Desktop.
composer install -problem fix
problem:
Problem 1
- The requested PHP extension ext-gd * is missing from your system. Install or enable PHP's gd extension.
Problem 2
- The requested PHP extension ext-curl * is missing from your system. Install or enable PHP's curl extension.
Problem 3
- Installation request for braintree/braintree_php 2.39.0 -> satisfiable by braintree/braintree_php[2.39.0].
- braintree/braintree_php 2.39.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
To enable extensions, verify that they are enabled in your .ini files:
- /etc/php5/cli/php.ini
- /etc/php5/cli/conf.d/05-opcache.ini
- /etc/php5/cli/conf.d/10-pdo.ini
- /etc/php5/cli/conf.d/20-intl.ini
- /etc/php5/cli/conf.d/20-json.ini
- /etc/php5/cli/conf.d/20-mcrypt.ini
- /etc/php5/cli/conf.d/20-readline.ini
- /etc/php5/cli/conf.d/20-xsl.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
Solution:
sudo apt-get update
sudo apt-get install php5-gd
sudo apt-get install php5-curl
@vigneshv01-ship-it
Copy link

That helps. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment