Zenphoto

From DreamHost

Jump to: navigation, search

Zenphoto is a PHP-powered simple photo gallery program that is designed to be simpler, with fewer features, than other images galleries. DreamHost has made Zenphoto available as a one-click installation.

Manual installation

This is a guide to getting ZenPhoto installed.

The instructions provided in this article or section are considered advanced.

You are expected to be knowledgeable in the UNIX shell.
Support for these instructions is not available from DreamHost tech support.

The instructions provided in this article or section have not yet been thoroughly tested.

If you find they need adjustment, please feel free to edit and update this article.

  1. Log in to DreamHost control panel
  2. Click on Goodies -> Mysql and create a new database
  3. Go to Domains -> Manage Domains, click [Edit] for your site.
  4. Tick the radio button next to PHP5, and click the "Change fully hosted settings now!" button.

Warning! This will set your site to use PHP5! This may break scripts on your site that require the older PHP4!

The effects will take a few minutes to propagate in your web server (5 to 10 mins). Be patient!

  1. Download the latest version of zenphoto from zenphoto.org and unzip it
  2. Connect to your webserver
  3. Create a new folder, such as 'photos' and upload the unzipped files to it
  4. Go to http://www.yoursiteurl.com/your_folder/zen/setup.php to check that everything has been uploaded.

Follow the instructions on the page. There are some changes you need to make:

  1. In your FTP client move to the 'zen' folder and rename config.php.example to config.php
  2. Open the config.php file and edit it, changing the details to their appropriate values:
    1. $conf['mysql_host'] = "localhost";
      Change this to the database name you chose earlier when you created your new database (e.g. mysql.yourdomain.com.)
    2. Change the RewriteBase from '/zp' to '/your_folder_name'
    3. Change the permissions on the 'albums' and 'cache' folders to 755, not 777 per the instructions
    4. Refresh the page you had open earlier: http://www.yoursiteurl.com/your_folder/zen/setup.php logging in and click 'Go!'

External link

Personal tools