You are not logged in.
Pages: 1
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
GD is working fine here (using php-suhosin). Did you enable the gd-module in php.ini?
Offline
Hah, lol, my bad, didn't think about that. Worked when I did. ![]()
Offline
Pages: 1