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