简体   繁体   中英

Warning: GD extension needs to be loaded for OpenCart to work

How To Solve on Remote Server On OpenCart Installing? Warning: GD extension needs to be loaded for OpenCart to work!

Step:2(Pre-Installation) in Open cart Installation.

You have to install the php gd package. If you are using ubuntu, on the terminal type

sudo apt-get install php5-gd

If this is cPanel server, you will have to recompile Apache and PHP using EasyApache option from WHM to enable support for GD library. Please note that you will need root access of the server to recompile it. If you do not have it, you will have to contact your server administrator to enable support for GD library.

I'm running php 7.2.14 on Amazon Linux 2 on Amazon Ec2 and this worked for me:

$ sudo yum update -y
$ sudo yum install -y php-gd
$ sudo reboot 

I am using PHP 8 on Windows.

I just uncommented extension=gd in php.ini xampp\\php\\php.ini

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM