Installation.md 1.15 KB
Newer Older
Tobias Reich's avatar
Tobias Reich committed
1
### 1. Requirements
Tobias Reich's avatar
V2.0    
Tobias Reich committed
2
3
Everything you need is a web-server with PHP 5.3 or later and a MySQL-Database.

Tobias Reich's avatar
Tobias Reich committed
4
The following PHP extensions must be activated:
Tobias Reich's avatar
V2.0    
Tobias Reich committed
5

Tobias Reich's avatar
Tobias Reich committed
6
7
	exif, gd, json, mbstring, mysqli, zip
	
8
9
10
11
12
13
14
15
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
	
Tobias Reich's avatar
Tobias Reich committed
16
17
18
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
Tobias Reich's avatar
Tobias Reich committed
19

Tobias Reich's avatar
Tobias Reich committed
20
The easiest way to download Lychee is with `git`:
Tobias Reich's avatar
Tobias Reich committed
21
22
23
24

	git clone https://github.com/electerious/Lychee.git
	
You can also use the [direct download](https://github.com/electerious/Lychee/archive/master.zip).
Tobias Reich's avatar
V2.0    
Tobias Reich committed
25

Tobias Reich's avatar
Tobias Reich committed
26
### 3. Permissions
Tobias Reich's avatar
V2.0    
Tobias Reich committed
27

Tobias Reich's avatar
Tobias Reich committed
28
Change the permissions of `uploads/` and `data/` to 777, including all subfolders:
Tobias Reich's avatar
V2.0    
Tobias Reich committed
29

Tobias Reich's avatar
Tobias Reich committed
30
	chmod -R 777 uploads/ data/
Tobias Reich's avatar
V2.0    
Tobias Reich committed
31

Tobias Reich's avatar
Tobias Reich committed
32
### 4. Finish
Tobias Reich's avatar
V2.0    
Tobias Reich committed
33
34

Open Lychee in your browser and follow the given steps.
Tobias Reich's avatar
Tobias Reich committed
35
If you have trouble, take a look at the [FAQ](FAQ.md).