Created
February 15, 2017 07:28
-
-
Save delwar2016/37026c9deb31c832a2efbaf25a1c94e1 to your computer and use it in GitHub Desktop.
composer install -problem fix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That helps. Thanks!