• Register
0 votes
1.6k views

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

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 12 views
0 votes
2 answers 437 views
437 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 10 views
10 views
I am finding difficulty to insert hindi text in MySQL database using PHP
asked Oct 4 Daniel Anderson 4k points