PHP running on your server does not support the GD image library, check with ... PHP running on your server does not support the GD image library, check with ...
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

PHP running on your server does not support the GD image library, check with ...

Started by noname2, November 19, 2006, 11:40:21 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

noname2

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.  :) :) :)

Sami

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/)
‍I don't answer to PM with support question
Please post your issue to related board

noname2

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

Sami

That's wrong path for I.M. you need to ask your host for correct path
‍I don't answer to PM with support question
Please post your issue to related board

noname2

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  ;) ;) ;)

Sami

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
‍I don't answer to PM with support question
Please post your issue to related board

noname2

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?

Sami

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
‍I don't answer to PM with support question
Please post your issue to related board

noname2

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. ^^

Sami

- 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
‍I don't answer to PM with support question
Please post your issue to related board

noname2

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