From 09524e58185b7f0e1f142675901af260de9e1280 Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Sun, 9 Jun 2013 13:42:44 -0700 Subject: [PATCH] Created Installation (markdown) --- Installation.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Installation.md diff --git a/Installation.md b/Installation.md new file mode 100644 index 0000000..0fe7e5d --- /dev/null +++ b/Installation.md @@ -0,0 +1,36 @@ +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 \ No newline at end of file