close

How to install PHP GD in Ubuntu

Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error How to install PHP GD in Ubuntu in php. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How to install PHP GD in Ubuntu Error Occurs?

Today I get the following error How to install PHP GD in Ubuntu in php.

How To Solve install PHP GD in Ubuntu Error ?

  1. How To Solve install PHP GD in Ubuntu Error ?

    To Solve install PHP GD in Ubuntu Error
    keep it simple…
    apt-get install php-gd
    will usually find the correct package and version for your install setup and just install everything nice for you.. did for me

  2. How to install PHP GD in Ubuntu

    To Solve install PHP GD in Ubuntu Error
    keep it simple…
    apt-get install php-gd
    will usually find the correct package and version for your install setup and just install everything nice for you.. did for me

Solution 1

sudo apt-get update

For 5.6 PHP

sudo apt-get install php5.6-gd

For 7.0 PHP

sudo apt-get install php7.0-gd

For 8.0 PHP

sudo apt-get install php8.0-gd

Solution 2


keep it simple…

apt-get install php-gd

will usually find the correct package and version for your install setup and just install everything nice for you.. did for me

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Also, Read

Leave a Comment