Hi,
I am running coppermine gallery for image gallery. When i try to upload a file it gives the error that php does not have GD support enabled. After that my admin did apt-get php4-gd and restarted apache. Still problem persists. Anything more my admin needs to do?
regards
Tanveer
http://coppermine.sourceforge.net/faq.php#WhatIsGD
http://coppermine.sourceforge.net/faq.php#VersionGD
Quote from: GauGau on June 06, 2005, 12:00:34 AM
http://coppermine.sourceforge.net/faq.php#WhatIsGD
http://coppermine.sourceforge.net/faq.php#VersionGD
I guess the second link you put shows the problem. There is no GD column in phpinfo, however in the top where it shows configure options GD is enables. We did apt-get php4-gd. Anything extra apart from that needs to be done?
Here is the output of phpinfo containing GD specific things(configure command)
QuoteSystem Linux Abulafia.hcoop.net 2.4.29cke #1 Tue Mar 1 13:52:15 EST 2005 i686
Build Date May 9 2005 08:33:11
Configure Command '../configure' '--prefix=/usr' '--with-apxs=/usr/bin/apxs' '--with-config-file-path=/etc/php4/apache' '--enable-memory-limit' '--disable-debug' '--with-regex=php' '--disable-rpath' '--disable-static' '--with-pic' '--with-layout=GNU' '--with-pear=/usr/share/php' '--enable-calendar' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars' '--enable-trans-sid' '--enable-bcmath' '--with-bz2' '--enable-ctype' '--with-db4' '--with-iconv' '--enable-exif' '--enable-filepro' '--enable-ftp' '--with-gettext' '--enable-mbstring' '--with-pcre-regex=/usr' '--enable-shmop' '--enable-sockets' '--enable-wddx' '--disable-xml' '--with-expat-dir=/usr' '--with-xmlrpc' '--enable-yp' '--with-zlib' '--without-pgsql' '--with-kerberos=/usr' '--with-openssl=/usr' '--with-zip=/usr' '--enable-dbx' '--with-mime-magic=/usr/share/misc/file/magic.mime' '--with-exec-dir=/usr/lib/php4/libexec' '--without-mm' '--with-curl=shared,/usr' '--with-dom=shared,/usr' '--with-dom-xslt=shared,/usr' '--with-dom-exslt=shared,/usr' '--with-zlib-dir=/usr' '--with-gd=shared,/usr' '--enable-gd-native-ttf' '--with-jpeg-dir=shared,/usr' '--with-xpm-dir=shared,/usr/X11R6' '--with-png-dir=shared,/usr' '--with-freetype-dir=shared,/usr' '--with-imap=shared,/usr' '--with-imap-ssl' '--with-ldap=shared,/usr' '--with-mcal=shared,/usr' '--with-mhash=shared,/usr' '--with-mysql=shared,/usr' '--with-unixODBC=shared,/usr' '--with-recode=shared,/usr' '--enable-xslt=shared' '--with-xslt-sablot=shared,/usr' '--with-snmp=shared,/usr' '--with-sybase-ct=shared,/usr' '--with-ttf=shared,/usr' '--with-t1lib=shared,/usr'
I'm not a Lunix expert, but I guess that your GD doesn't have support for any file extensions compiled. There are some interessting postings when searching for "with-gd": http://forum.coppermine-gallery.net/index.php?action=search2;search=with-gd