forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: luigib952 on February 14, 2007, 06:50:31 pm

Title: PHP running on your server does not support the GD image library
Post by: luigib952 on February 14, 2007, 06:50:31 pm
Hi.
I have installed Coppermine 4.1.10 on a web host and, when i try to upload a picture file, i get this error message:

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

The most relevant informations i can get running a phpinfo command are:

PHP Version 4.4.2
1. max_input_time: -1
2. upload_max_filesize: 2M
3. post_max_size: 2M
4. memory_limit: ??? (i donīt know where i can find this parameter)
5. PHP's LimitRequestBody : ??? (i donīt know where i can find this parameter)
6. file_uploads: on
7. upload_tmp_dir: no value

gd
GD Support:  enabled 
GD Version:  bundled (2.0.28 compatible) 
GIF Read Support:  enabled 
GIF Create Support:  enabled 
PNG Support:  enabled 
WBMP Support:  enabled 
XBM Support:  enabled 

I see that there is no support for JPG, but i have the same problem trying to upload also GIF and PNG files.
Any help?
Title: Re: PHP running on your server does not support the GD image library
Post by: Nibbler on February 14, 2007, 06:51:39 pm
You need JPEG support. Either get it enabled or use ImageMagick if available.
Title: Re: PHP running on your server does not support the GD image library
Post by: luigib952 on February 14, 2007, 07:05:41 pm
Do i need jpeg support even to upload a PNG image? Ok, i'll ask my web host to enable it.
Thanks.
Title: Re: PHP running on your server does not support the GD image library
Post by: Joachim Müller on February 15, 2007, 07:33:56 am
Do i need jpeg support even to upload a PNG image?
yes