lychee/docs/Installation.md

36 lines
1.2 KiB
Markdown
Raw Normal View History

2014-02-14 19:02:58 +00:00
### 1. Requirements
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-04-04 13:47:15 +00:00
exif, gd, json, mbstring, mysqli, zip
2014-08-17 19:45:14 +00:00
To use Lychee without restrictions, we recommend to increase the values of the following properties in `php.ini`:
max_execution_time = 200
post_max_size = 100M
upload_max_size = 100M
upload_max_filesize = 20M
memory_limit = 256M
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-04-04 13:47:15 +00:00
### 3. Permissions
2015-05-31 09:38:46 +00:00
Change the permissions of `uploads/`, `data/` and all their subfolders. Sufficient read/write privileges are reqiured.
2014-02-07 23:08:18 +00:00
chmod -R 777 uploads/ data/
2014-04-04 13:47:15 +00:00
### 4. Finish
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).