You are not logged in.

#1 2009-03-09 16:18:41

Lazze
Member
From: Bangkok, Thailand
Registered: 2008-09-28
Posts: 133

[SOLVED] php gd wont work

Hi

I'm having problem with my php gd, I've enabled it in my php.ini file and restarted httpd but gd is still not enabled. I've also checked that my extensions dir is correct.
Any ideas why it isn't working?

Thanks
// Lasse

Last edited by Lazze (2009-03-18 09:41:05)

Offline

#2 2009-03-10 13:14:43

Lazze
Member
From: Bangkok, Thailand
Registered: 2008-09-28
Posts: 133

Re: [SOLVED] php gd wont work

No ideas?

Offline

#3 2009-03-10 14:54:43

foutrelis
Developer
From: Athens, Greece
Registered: 2008-07-28
Posts: 705
Website

Re: [SOLVED] php gd wont work

You need to install a few more packages for certain extensions to work. Those packages are listed under optional dependencies of the php package. For example, gd depends on:

[foutrelis@failboat ~]$ pacman -Qi php|grep ': gd'
                 libpng: gd
                 libjpeg: gd
                 freetype2: gd

Offline

#4 2009-03-10 15:55:13

marxav
Member
From: Gatineau, PQ, Canada
Registered: 2006-09-24
Posts: 386

Re: [SOLVED] php gd wont work

PHP does not spit out any error message about missing library?

Offline

#5 2009-03-18 09:40:31

Lazze
Member
From: Bangkok, Thailand
Registered: 2008-09-28
Posts: 133

Re: [SOLVED] php gd wont work

It was the freetype2 that was missing, installing it solved the issue, thanks.
Sorry for my late reply, I've had it kinda hectic lately.

Last edited by Lazze (2009-03-18 09:45:01)

Offline

Board footer

Powered by FluxBB