You are not logged in.

#1 2019-05-16 10:56:21

archai
Member
Registered: 2019-05-15
Posts: 3

How to install GD PHP module with JPEG support?

Hi Guys,

Could you please help me install GD PHP module with JPEG support?
I have successfully installed PHP 7.3.5 and also the gd module but not with jpeg support:

Please find below output of "php -m:

php -m

[PHP Modules]
Core
ctype
curl
date
dom
fileinfo
filter
gd
hash
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
readline
Reflection
session
SimpleXML
SPL
standard
tokenizer
xml
xmlreader
xmlwriter
zip
zlib

[Zend Modules] 

and also output "php --info | grep -i 'gd '":

php --info | grep -i 'gd '
GD Support => enabled
GD headers Version => 2.2.5
GD library Version => 2.2.5

Any ideas would be much appreciated!

Thank You,

Catalin

Offline

#2 2019-05-16 11:20:15

saymonz
Member
Registered: 2017-02-19
Posts: 11

Re: How to install GD PHP module with JPEG support?

What makes you think your gd doesn't support JPEG images? Mine does, and I have just installed gd and php-gd packages from official repositories... Have you checked your phpinfo() ?

Last edited by saymonz (2019-05-16 11:24:20)

Offline

#3 2019-05-16 12:28:07

archai
Member
Registered: 2019-05-15
Posts: 3

Re: How to install GD PHP module with JPEG support?

Because I was trying to install hubzilla from github and it was complaining about this. However I have reinstalled both gd and php-gd, restarted everything and now it works just fine.

Thank you so much for the quick reply!!!

Offline

Board footer

Powered by FluxBB