When I try to install it with sudo apt-get install php7.2-gd
But i get this error
Depends: libjpeg62-turbo (>= 1.3.1) but it is not installable
E: Unable to correct problems, you have held broken packages
I try to fix it and install libjpeg62-turbo
E: Package 'libjpeg62-turbo' has no installation candidate
The result is Package 'libjpeg62-turbo' has no installation candidate
Here is the fix
Download the old version of libjpeg62-turbo
wget http://ftp.br.debian.org/debian/pool/main/libj/libjpeg-turbo/libjpeg62-turbo_1.5.2-2+b1_amd64.deb
Run the below commands
sudo dpkg -i libjpeg62-turbo_1.5.2-2+b1_amd64.deb
apt-get install php7.2-gd
and then restart phpfpm
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With