Welcome, Guest. [ Log In ]
Question   How Do I Install Gallery 1.4?
Search KBase

Top 5 in this Area:
1. What's the difference between PHP-CGI and PHP as an Apache module?
2. PHP Security
3. Compiling your own custom PHP
4. Can I run a phpbb forum (message board) on my site?
5. Do you support this PHP module or extension?

How Do I Install Gallery 1.4?
These instructions require shell access. Steps :
  1. Untar the archive into your desired location.
  2. From the shell, inside the gallery dir run the command sh ./configure.sh
  3. Point your browser to http://[yoursite.com]/[gallerydir]/setup
  4. During setup use the following data.
    1. Use ImageMagick
    2. Path to ImageMagick is /usr/bin
    3. From any path delete the .xxxxx part. (ie /home/.lotus/user becomes /home/user )
  5. Set any custom paths ( ie, thumbnail/albdir ).
  6. create the directories referenced in above step
  7. Configure the settings on the next two pages.
  8. Be sure your domain is running PHP-CGI and not PHP as an Apache module.
  9. Via shell, from galler dir run command sh ./secure.sh
Some more thorough instructions have been put together by a customer and can be accessed here. Note that we cannot guarantee that these instructions are up to date, but they work well at the time of this writing.

Last updated: Feb 27, 2004.

User Post (2004-03-08 12:08:18 by josh)
nope, now that there's the php-cgi enabling option from the DH web panel, you no longer need to put "AddType php-cgi .php" in a .htaccess file!
User Post (2005-07-12 08:58:36 by shadle)
Is anyone else having trouble uploading zip files through the Gallery interface? I can't seem to get Gallery to recognize a zip file full of jpegs that I would like to upload. Any help would be appreciated. Thanks.
User Post (2005-06-27 19:41:05 by ttpdesign7)
These instructions work well for v1.5 as well. The forums say you can disregard the bright red warnings about register_globals, and I haven't had problems after doing so. That said, I can't vouch for the security of this configuration (plenty has been written on this in the forums).
User Post (2004-11-30 02:27:38 by sankarrukku)
The latest version of gallery has a built in manual ( gallery/docs/index.html ) Download the Zip file (not the TAR file) and then follow the instructions given in the manual. You can work with WS FTP and complete the installation. The manual has a trouble shooting section also.

About the configyration the instruction given in http://www.wombatnation.com/ are very helpful.
User Post (2004-09-13 00:27:57 by zev)
don't forget step
2.5 chmod 644 http://[yoursite.com]/[gallerydir]/setup/.htaccess
otherwise you get 403 forbidden on step 3
User Post (2004-08-21 11:53:25 by pippy)
Do you HAVE to use ImageMagick? I was choosing to use netpbm instead.
User Post (2004-03-06 13:14:12 by mfitz)
Thanks, promonkey! Your tip about the /tmp directory solved the only remaining problem with my installation.

Is it really necessary for us to add "AddType php-cgi .php" to the .htaccess file once we turn on PHP-CGI? I would think it'd be automagically added by some DH admin mechnaism when you turn PHP-CGI on in the Web Control Panel.
User Post (2004-01-08 03:18:21 by rbelknap)
Gotta remember to close my browser window.... grah. Thanks promonkey!
User Post (2003-11-24 23:18:20 by anzi)
I also installed Gallery 1.4, but into a subdomain instead of a subdirectory. I moved .htaccess into the subdomain's folder (instead of to the parent directory) and have had no problems. Remember: if you go back and run the configuration wizard again, you'll have to edit .htaccess again; the config wizard overwrites .htaccess.
User Post (2003-11-04 10:19:16 by promonkey)
After installing Gallery 1.4, I received permission errors relating to session information. Gallery now seems to use the session save data location that is configured in PHP installation (/tmp) rather than letting you specifiy your own in the configuration panel. The solution is to use the .htaccess file to specify an alternate session save location within your own web directory. First, create the temp directory in your web space. Then, add a line to your .htaccess file (with the correct path):

php_value session.save_path "/path/to/your/new/tmp"

Close your browser (to delete previous session info), re-open, and it should work.