Can I install GD library with php 7.2?
Asked Answered
P

2

5

I installed php72-php-gd, php70-php-gd, 2 php-gd in Amazon Linux 2 AMI server with

yum install php72-g

I can't get any information about GD library in php.info, the old server was Ubuntu 16.04.3 from DigitalOcean and works well there.

Prentiss answered 10/12, 2018 at 11:55 Comment(3)
Did you restart php-fpm and/or apache?Fortitude
That's it, I just found the solution with restart sudo systemctl restart php-fpm.service Thanks @FortitudePrentiss
Did you solve this issue?Synchrotron
L
7
apt-get install php7.2-gd 

works for me on Debian Stretch with this php7.2 packages php7.2 install

you have to know the name of the package you need, it differs from distro to distro and install it.

Literally answered 13/3, 2019 at 23:4 Comment(2)
not working E: Unable to locate package php7.2-gd E: Couldn't find any package by regex 'php7.2-gd'Burnaby
that looks like to depend on: the php version has now changed and php7.2 packages where out ranged, you simply have to install the actually php packages maybe php7.4-gd for ubuntu, at this time. Or php7.3-gd for debian buster at this time. packages.debian.org/buster/php-gdLiterally
O
1

Gd library don't work on wampserver with php 7.2.10

Opposite answered 13/1, 2019 at 11:29 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.