2014-02-14 19:02:58 +00:00
### 1. Requirements
2014-01-22 10:12:51 +00:00
Everything you need is a web-server with PHP 5.3 or later and a MySQL-Database.
2014-04-04 13:47:15 +00:00
The following PHP extensions must be activated:
2014-01-22 10:12:51 +00:00
2014-04-04 13:47:15 +00:00
exif, gd, json, mbstring, mysqli, zip
To use Lychee without restrictions, we recommend to increase the values of the following properties in `php.ini` :
2014-01-22 10:12:51 +00:00
max_execution_time = 200
post_max_size = 200M
upload_max_size = 200M
upload_max_filesize = 20M
max_file_uploads = 100
2014-05-07 14:20:16 +00:00
memory_limit = 256M
2014-02-07 23:08:18 +00:00
2014-04-04 13:47:15 +00:00
You might also take a look at [Issue #106 ](https://github.com/electerious/Lychee/issues/106 ) if you are using nginx or in the [FAQ ](https://github.com/electerious/Lychee/blob/master/docs/FAQ.md#i-cant-upload-multiple-photos-at-once ) if you are using CGI or FastCGI.
### 2. Download
2014-02-07 23:08:18 +00:00
2014-02-08 17:40:40 +00:00
The easiest way to download Lychee is with `git` :
2014-02-07 23:08:18 +00:00
git clone https://github.com/electerious/Lychee.git
You can also use the [direct download ](https://github.com/electerious/Lychee/archive/master.zip ).
2014-01-22 10:12:51 +00:00
2014-04-04 13:47:15 +00:00
### 3. Permissions
2014-01-22 10:12:51 +00:00
2014-02-07 23:08:18 +00:00
Change the permissions of `uploads/` and `data/` to 777, including all subfolders:
2014-01-22 10:12:51 +00:00
2014-02-07 23:08:18 +00:00
chmod -R 777 uploads/ data/
2014-01-22 10:12:51 +00:00
2014-04-04 13:47:15 +00:00
### 4. Finish
2014-01-22 10:12:51 +00:00
Open Lychee in your browser and follow the given steps.
2014-04-04 13:47:15 +00:00
If you have trouble, take a look at the [FAQ ](FAQ.md ).