Configuring Personal Gallerys on Radix
Due to our customized Apache installation, there are a couple of notes to make about installing the popular Gallery program for yourself on Radix. Specifically, PHP scripts are run in CGI mode, and as the user that owns them. So when following the Installation Instructions for Unix with Shell Access on the Gallery page, please do the following things:
- Do not do any of the "chmod 0777" or "chmod 0666" commands that they tell you to. These are only needed if gallery will be run as the web user.
- After you have untarred the gallery package, cd into the gallery directory and run the command "find ./ -name \*.php -exec chmod a+x {} \;" to make all the .php files exectuable by the web server.
- Follow their instructions to execute a "touch config.php .htaccess", but do not execute the associated chmod commands.
- Go to http://url/gallery/setup/index.php
- Make sure there are no extra warnings other than "Apache is not obeying the 'php_value' lines in your .htaccess file." (If you are running PHP in CGI mode, this message is unavoidable)
- In the setup wizard's Location and URL page set the Temporary Directory to /tmp
After completing these steps gallery should be ready to go! If you have problems, please let us know so we can update the instructions.
Posted by randal at April 6, 2005 03:03 PM