• Register
0 votes
3.7k 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

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 16 views
16 views
Problem: Any help :To enable extensions, verify that they are enabled in your .ini files.
asked Mar 6 Wafa Abu Yousef 6.1k points
0 votes
1 answer 91 views
0 votes
2 answers 828 views
828 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 18 views
0 votes
1 answer 2 views
2 views
Problem: Please assist me in resolving this issue: you are not allowed to access this file. check index_dev.php for more information.
asked Apr 1 rakib1 50.4k points
0 votes
1 answer 19 views
19 views
Problem: the requested php extension zip is missing from your system..
asked Feb 16 Ethan ross 2.3k points
0 votes
1 answer 2 views
2 views
Problem: As I previously stated in my question, I am having difficulty learning. Could someone help assist me in completing my project?
asked Apr 1 rakib1 50.4k points
0 votes
1 answer 8 views
8 views
Problem: Only at the checkout and on individual product pages I am getting the following error in the console log: Uncaught SyntaxError: Unexpected token u in JSON at position 0
asked Mar 16 ummesalma 21.9k points
0 votes
1 answer 26 views
26 views
I am finding difficulty to insert hindi text in MySQL database using PHP
asked Oct 4, 2020 Daniel Anderson 4k points