PDA

View Full Version : Gallery V1 on ISPconfig Ubuntu 8.04


raymonvdm
25th November 2008, 23:40
Last week ik reinstalled my server with Ubuntu 8.04 and ISPconfig.

Now im trying to get my websites working but im having error on my restored gallery installation. When i try to upload pictures it gives me the following error

/var/www/gallery.websiteexample.com/web/bin/ppmtojpeg: symbol lookup error: /var/www/gallery.websiteexample.com/web/bin/ppmtojpeg: undefined symbol: optParseOptions3

In the gallery config i have setup gallery to use

/var/www/gallery.websiteexample.com/web/bin/ for the binaries (precompiled, just as i had on my other installation (bluequartz CentOS)

till
26th November 2008, 13:28
Generally it is not a good idea to place binaries in the web directory as this is very insecure. Better but binaries in a path outside the web root, e.g.:

/var/www/gallery.websiteexample.com/bin/

The problem is that your precompiled binaries seem not to be compatible with ubuntu 8.04. You should use binaries from ubuntu instaed or recompile the applications on ubuntu.

raymonvdm
26th November 2008, 15:53
I have installed netpbm for ubuntu 8.04 (apt-get install netpbm)

And copied the binaries to /var/www/website/web/bin/ because i`m working with an open_basedir restriction. The website is only allowed to open /var/www/website/web/ and thus only the netpbm binaries