You are not logged in.

#1 2007-01-26 09:02:51

Katt
Member
Registered: 2007-01-26
Posts: 3

PHP DG issue

Hi, I'm trying to make an imageresize-thingy with PHP from Arch-repos, problem is it keeps saying it can't find the function imagecreatefromjpeg(). In order to have that function availiabe PHP need to be configured with --with-gd and --with-jpeg-dir, the one in the repos got it both according to phpinfo(), but I read this on php.net:

it's *important* that --with-jpeg-dir be *before* --with-gd.  If it's not, GD won't build with jpeg support as if --with-jpeg-dir had never been specified...

And I checked the PKGBUILD from abs for php, --with-jpeg-dir is specified after --with-dg in it, any dev just wanna just pull it back a few steps in the PKGBUILD and recompile and update the repo, please? ^^

Offline

#2 2007-01-26 10:24:44

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,967
Website

Re: PHP DG issue

GD is working fine here (using php-suhosin). Did you enable the gd-module in php.ini?

Offline

#3 2007-01-26 11:00:58

Katt
Member
Registered: 2007-01-26
Posts: 3

Re: PHP DG issue

Hah, lol, my bad, didn't think about that. Worked when I did. smile

Offline

Board footer

Powered by FluxBB