Zoph/Configuration

From Wikibooks, open books for an open world
Jump to: navigation, search

Database access parameters[edit]

Access to the database needs to be configured through /etc/zoph.ini. You will need to do this prior to accessing Zoph via the Web GUI. Please see the installation documentation and zoph.ini for details.

Web GUI[edit]

Most of Zoph can be configured from the Web GUI. Log in as a user with admin rights. If you haven't created a user for yourself, you can login with the user admin. Go to "admin" in the top menu and then choose "config". The configuration items should be self-explanatory.

When you first get started with Zoph, you should at least change the following:

Images path[edit]

Images directory under paths. This is the directory where your photos are stored. It should be an absolute path (that is: referenced from the root) and it should not be in your webroot. See the installation documentation for how to set the correct access rights for this directory.

Sharing Salt[edit]

Salt for sharing full size images and Salt for sharing mid size images under Sharing. You should set these salts to unique values. You can do so by clicking the generate buttons. Even though you will not need these unless you enable Sharing, it is a good idea to make sure you have a unique salt set. (and Zoph will refuse to save your configuration if you don't).

Enable import and upload[edit]

Import through webinterface and Upload through webinterface under Import. Unless you plan to use the CLI import exclusively, you should enable import through the web interface here.

Interface title[edit]

Title under Interface settings. You probably want to change the name Zoph will show on the login page and in the title bar.

config.inc.php[edit]

There are a few configuration settings that can only be changed in config.inc.php. Most users will never need to change anything here. For details see config.inc.php.