3 Installation
Tobias Reich edited this page 2013-10-27 05:04:34 -07:00

To run Lychee, everything you need is a web-server with PHP 5.3 or later and a MySQL-Database.

PHP configuration php.ini

The following extensions must be activated:

extension = php_mbstring.dll
extension = php_exif.dll
extension = php_gd2.dll

To use Lychee without restrictions, we recommend to increase the values of the following properties:

upload_max_filesize = 100M
max_file_uploads = 100
post_max_size = 100M

Folder permissions

Change the permissions of uploads/ to 777, including all subfolders:

chmod -R 777 uploads/

Lychee configuration php/config.php

Fill the following properties with your MySQL information:

$db = The name of the Database you want to use
-> Lychee will create the Database and Tables for you
$dbUser = Your MySQL username
$dbPassword = Your MySQL password
$dbHost = Your MySQL host (in most cases you can use localhost)

Your photos are protected by a username and password you need to set:

$user = Your username for Lychee
$password = Your password for Lychee

After the configuration, navigate your browser to the place where Lychee is located. Everything should work now.

If Lychee is not working properly, try to open php/check.php. This file will take a look at your configuration and displays all errors it can find. Everything should work if you can see the message "Lychee is ready!".