Advanced search  

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]

Pages: [1]   Go Down

Author Topic: PHP running on your server does not support the GD image library, check with ...  (Read 3869 times)

0 Members and 1 Guest are viewing this topic.

noname2

  • Coppermine newbie
  • Offline Offline
  • Posts: 6

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

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project

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

noname2

  • Coppermine newbie
  • Offline Offline
  • Posts: 6

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
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project

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

noname2

  • Coppermine newbie
  • Offline Offline
  • Posts: 6

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

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project

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

noname2

  • Coppermine newbie
  • Offline Offline
  • Posts: 6

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?
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project

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

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

noname2

  • Coppermine newbie
  • Offline Offline
  • Posts: 6

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

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project

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

noname2

  • Coppermine newbie
  • Offline Offline
  • Posts: 6

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
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 19 queries.