coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: noname2 on November 19, 2006, 11:40:21 AM

Title: PHP running on your server does not support the GD image library, check with ...
Post by: noname2 on November 19, 2006, 11:40:21 AM
When I uploaded my images the browser show message
"PHP running on your server does not support the GD image library, check with your webhost if ImageMagick is installed"
So I cann't upload to my albumn. How to do?
Can you suggest me for using coppermine?  >:( >:( >:(

Thank you very much.  :) :) :)
Title: Re: PHP running on your server does not support the GD image library, check with ...
Post by: Sami on November 19, 2006, 11:49:35 AM
It means that you don't have GD (an utility to resize images) and you should either install it (if you are admin of that server you can enable it by php.ini it comes as a bundel with php) or use ImageMagic instead
go to
config => Files and thumbnails advanced settings => Method for resizing images
and set it to ImageMagic and ask your host for correct path to ImageMagic and put it to
config => Files and thumbnails advanced settings => Path to ImageMagick 'convert' utility (example /usr/bin/X11/)
Title: Re: PHP running on your server does not support the GD image library, check with
Post by: noname2 on November 19, 2006, 12:14:43 PM
Dear Sami

I set Method for resizing images to ImageMagic but i don't understand that you say
Path to ImageMagick 'convert' utility (example /usr/bin/X11/) I try to type in textbox "/albums"
because I folder in server I put cpg folder in C:\cpg and in cpg has albums folder.
Is it wrong ? I still cann't to upload images to my server.

I send my screens for you help me.

Thank you very much Mr. Sami  :D :D :D
Title: Re: PHP running on your server does not support the GD image library, check with ...
Post by: Sami on November 19, 2006, 12:18:02 PM
That's wrong path for I.M. you need to ask your host for correct path
Title: Re: PHP running on your server does not support the GD image library, check with
Post by: noname2 on November 19, 2006, 12:23:24 PM
the path is in C:/cpg1.4.10/cpg1410/albums/
I use Windows server not linux.
just now I changes path from /albums/ to be C:/cpg1.4.10/cpg1410/albums/
but It still cann't to upload.  :'( :'( :'(

Help me please. Thanks  ;) ;) ;)
Title: Re: PHP running on your server does not support the GD image library, check with ...
Post by: Sami on November 19, 2006, 12:28:34 PM
No, This is not correct path , The path should point to ImageMagic utility not to image folder !
ImageMagic is an utility that you should have on your server
If you are on windows box and have admin right then edit your php.ini and enable GD instead
Title: Re: PHP running on your server does not support the GD image library, check with
Post by: noname2 on November 19, 2006, 12:43:01 PM
OK I found php.ini on server. how to enable GD?

If I enabled GD, am I  whould to change Method for resizing images to ImageMagic again?
Title: Re: PHP running on your server does not support the GD image library, check with
Post by: Sami on November 19, 2006, 12:45:57 PM
Quote from: noname2 on November 19, 2006, 12:43:01 PM
OK I found php.ini on server. how to enable GD?
search for extension=php_gd2.dll and remove the semicolon (;) from the beginning to enable it

Quote from: noname2 on November 19, 2006, 12:43:01 PM
If I enabled GD, am I  whould to change Method for resizing images to ImageMagic again?
YES

BTW , we are here to support Coppermine not server setting or php optimization and self hosting is not recommanded at all
Title: Re: PHP running on your server does not support the GD image library, check with
Post by: noname2 on November 19, 2006, 01:33:12 PM
I enabled php.ini at extension=php_gd2.dll by remove the semicolon and save it.
So I open by browser and type my URL it's long time for waiting my page then I go to the server
the message show me "Unable to load dynamic library './php_dg2.dll' The specified module
could not be found "

My God -_-!

May I download library or module for my server?

I known you support Coppermine not server setting or php optimization
but you can and now you're helping me for use Coppermine.

Thank you very much. ^^
Title: Re: PHP running on your server does not support the GD image library, check with ...
Post by: Sami on November 19, 2006, 01:43:05 PM
- look for extension_dir under php.ini and see if it has correct path
- you should have php_dg2.dll under that path
- if you don't have that file go to php.net and get the extensions pack for your php version
Title: Re: PHP running on your server does not support the GD image library, check with
Post by: noname2 on November 19, 2006, 01:52:14 PM
Thank you I'll try again if I've problem I'll post here.
I think I should to go www.php.net for php_dg2.dll
coz my php is old version.

See you again ^^
;D ;D ;D