Saturday, July 2, 2022

[FIXED] How to install/enable GD in xampp Ubuntu 18.04?

Issue

I Can't figure out how to install php-gd for PHP7.2.11. Is there any way to install/enable GD extension in xampp Ubuntu 18.04? I checked the php.ini file but I can't find php_gd2.so line.Any suggestions??


Solution

Under Linux you have ".so" files. You can install it very easy over the package manager. Check before if the package is installed:

dpkg -l|grep php7.2-gd

If not then install it via apt.

apt install php7.2-gd

If you have an oder version then use apt-get install. It is possible that this package is used and installed by default that is thy you should check, if it's already installed.



Answered By - René Höhle
Answer Checked By - David Marino (PHPFixing Volunteer)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.