• Register
0 votes

Problem :.

I am new to Magneto. I am trying to install the Magento 2.0.2 via composer but I am facing below error:

Problem 1
 - Installation request for magento/product-enterprise-edition 2.0.2 -> satisfiable by magento/product-enterprise-edition[2.0.2].
 - magento/product-enterprise-edition 2.0.2 requires ext-gd * -> the requested PHP extension gd is missing from your system.

To enable extensions, verify that they are enabled in those .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-curl.ini
- /etc/php5/cli/conf.d/20-imap.ini
- /etc/php5/cli/conf.d/20-json.ini
- /etc/php5/cli/conf.d/20-mcrypt.ini
- /etc/php5/cli/conf.d/20-pdo_pgsql.ini
- /etc/php5/cli/conf.d/20-pgsql.ini
- /etc/php5/cli/conf.d/20-pspell.ini
- /etc/php5/cli/conf.d/20-readline.ini

You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.

Please Note : I have already installed php5-cli and php5-curl.

Can anybody help me in fixing above error?

8 4 2
2,300 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

I had also encountered above error in the past. I did lot of research on the above error and found the solution on it as below.

I just followed below steps to fix the issue:

a: Please use below command to install php7.2-gd

sudo apt-get install -y php7.2-gd

b: Please use below command to install php7.2-intl

sudo apt-get install php7.2-intl

c: Please use below command to install php7.2-xsl

sudo apt-get install php7.2-xsl

d: Please use below command to install php7.2-mbstring

sudo apt-get install php7.2-mbstring

Hope it will fix your issue too.

5 2 1
4,980 points

Related questions

0 votes
1 answer 38 views
0 votes
2 answers 605 views
Problem : I am trying to install Composer but I am getting following error: "Some settings on your machine make Composer unable to work properly. Make sure that you fix the issues listed below and run this script again: The openssl extension is missing, which ... .ini-production and uncommented following code: "extension=php_openssl.dll" But still it is not working for me, Am I missing something?
asked Nov 28, 2019 alecxe 7.5k points
0 votes
1 answer 11 views
0 votes
1 answer 17 views
I am finding difficulty to insert hindi text in MySQL database using PHP
asked Oct 4, 2020 Daniel Anderson 4k points
0 votes
1 answer 11 views
I want to know how to store multiple values in single column in MysQl.
asked Sep 29, 2020 Daniel Anderson 4k points
0 votes
1 answer 12 views
We have a table with 4 columns. The first is name of the Product. The second column is a dropdown, in which it should be selected the product that showing this product list from the first column and the other values in this dropdown should be other category and it could change product category.
asked Sep 25, 2020 Daniel Anderson 4k points
0 votes
1 answer 14 views
0 votes
1 answer 24 views