getting gd2 to work with copper-mine getting gd2 to work with copper-mine
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

getting gd2 to work with copper-mine

Started by album, April 11, 2006, 12:58:23 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

album

Hi,

I try to use imagemagick, but it gives me an error. And tells me to use gd, when i try to use gd 2 setting, it says that my webserver is not configured for gd2. I have gd2.dll enable in php.ini, and when I use this command php -m, it shows gd is active. I don't know why it is not working.

Can somebody help me.

Iam running windows 2003 server web edition. IIS 6.0, also running php 4 something.


Joachim Müller


album

this is the error i get, when i try to install coppermine on my computer.

Warning: exec(): Unable to fork [d:/imagemagick626/convert images/coppermine_logo.png albums/userpics/im.gif] in c:\album\install.php on line 113

Warning: getimagesize(albums/userpics/im.gif): failed to open stream: No such file or directory in c:\album\install.php on line 114

Warning: unlink(albums/userpics/im.gif): No such file or directory in c:\album\install.php on line 115
Welcome to Coppermine installation
• • • ERROR • • •
The following errors were encountered and need to be corrected first:


The installer found the ImageMagick 'convert' program in 'd:/imagemagick626/', however it can't be executed by the script.

You may consider using GD instead of ImageMagick.

Joachim Müller

apply the needed permissions on the ImageMagick folder as suggested in the docs and the tutorial. This is not a matter of coppermine setup though, but server setup. Review your idea of self-hosting.

album

Hi,

I got it to work,

thanks for your help ;)

mauirixxx

instead of making a new thread, I figured I'd hijack this one, as it seems to be the same problem.

OS: fedora core 4
www: apache 2.2.2
php: 5.1.4 (compiled from source, with the --with-gd option)
mysql: 5.0.22

according to the phpinfo() script, I'm using the bundled gd library, proof of which is here: http://ats.dtdns.net/temp/test.php?action=php5

Now I've downloaded GD v2.0.33, but I assume I have to recompile php to use it? In any case, I get the following error from CPG after successfully uploading a jpeg and hitting "Continue":

"PHP running on your server does not support the GD image library, check with your webhost if ImageMagick is installed"

everything on this system is using their default paths, and again, i've verified via phpinfo() that the GD library IS installed. Ideas anyone, short of recompiling php using the v2.0.33 GD lib?

Tranz

Hmm... are you trying to work with jpgs? The GD list doesn't say it supports jpg.

Joachim Müller

Don't recompile PHP with GD support - use a package instead. If you must compile on your own, make sure to use the proper parameters (--with-gd is not enough).

mauirixxx

transdance, you're right - I was uploading a jpeg, I didn't catch the lack of jpeg support.

Gaugau. what package do you suggest? Also, if I do decide to recompile, if --with-gd isn't enough, what else is there? is it --with-gd=/path/to/gd ?

thanks for you time and help guys :)

Joachim Müller

I suggest reviewing Fedora resources to find a matching package. I'm not familiar with Fedora's packet manager.

Nibbler

Either use the php-gd rpm or recompile following the instructions at php.net to include jpeg support. Note that you should use the verson of GD which is bundled with PHP if you recompile.