Combined solution for hosting/ImageMagic and RAW file support

nemo2010

Joined: 2006-02-03
Posts: 84
Posted: Thu, 2006-06-01 15:49

I have been using gallery for a while now, but need to switch servers due to space limitation. My old server had ImageMagic preinstalled, and it worked like a charm. The new server (www.1and1.com) offers more space, but does not offer ImageMagic. I did upload all the binaries from ftp://ftp.imagemagick.org/pub/ImageMagick/binaries/ImageMagick-i686-pc-linux-gnu.tar.gz and CHNMOD 755 (/htdocs/ImageMagic/). Unfortunately, all the libraries are not being loaded because of upload location (htdocs/ImageMafic/lib) is not in the path. Since I have a shared server, I cannot change too much there...

Is there a way to properly install ImagegeMagic binaries on shared hosting? Ideally I want to be able to upload RAW files (.CR2) or large JPG's.

Maybe it will be easier to change hosting providers (space 50GB+, transfer 100GB/month), install gallery2 and 2 email addresses? Any suggestions?

Output from ImageMagic (Debug)
is_dir(/homepages/7/d164144029/htdocs/ImageMagick/bin/)
Loading plugin imagemagick
imagemagick plugin successfully instantiated
Check the version of the imagemagick plugin
The version of the imagemagick plugin is ok
getcwd()
chdir(/homepages/7/d164144029/htdocs/g2data/tmp/)
file_exists(/homepages/7/d164144029/htdocs/ImageMagick/bin/gm)
file_exists(/homepages/7/d164144029/htdocs/ImageMagick/bin/identify)
getParameter exec.beNice for core plugin
Executing: ( "/homepages/7/d164144029/htdocs/ImageMagick/bin/identify"
"/homepages/7/d164144029/htdocs/modules/imagemagick/data/test.gif" )
2>/homepages/7/d164144029/htdocs/g2data/tmp/g2dbgYIrcVW
getParameter exec.expectedStatus for core plugin
file_exists(/homepages/7/d164144029/htdocs/g2data/tmp/g2dbgYIrcVW)
filesize(/homepages/7/d164144029/htdocs/g2data/tmp/g2dbgYIrcVW)
fopen(/homepages/7/d164144029/htdocs/g2data/tmp/g2dbgYIrcVW, r, 0)
feof(Resource id #103)
fgets(Resource id #103, 4096)
feof(Resource id #103)
fgets(Resource id #103, 4096)
feof(Resource id #103)
fclose(Resource id #103)
unlink(/homepages/7/d164144029/htdocs/g2data/tmp/g2dbgYIrcVW)
Regular Output:
Error Output:
/homepages/7/d164144029/htdocs/ImageMagick/bin/identify: error while
loading shared libraries: libMagick.so.10: cannot open shared object file:
No such file or directory
Status: 127 (expected 0)

Gallery version = 2.1.1 core 1.1.0.1
PHP version = 4.4.2 cgi
Webserver = Apache/1.3.33 (Unix)
Database = mysql 4.0.27-standard-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, Getid3, NetPBM, SquareThumb, Thumbnail
Acceleration = full/900, full/900
Operating system = Linux infong 2.4 #1 SMP Wed Jan 18 14:53:29 CET 2006 i686 unknown
Default theme = matrix
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3