From 2400f1c8ef7a7d8a17bd6d1bca3ad1013f4efa56 Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Wed, 2 Apr 2014 22:22:48 +0200 Subject: [PATCH 1/3] Updated gitignore for further versions --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 58d934e..96a46c2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ -*.esproj +build/node_modules/ +build/bower_components/ php/config.php data/config.php From 03b6ab14ab89d21dc320ffa02a905d13a5a89368 Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Fri, 4 Apr 2014 15:14:11 +0200 Subject: [PATCH 2/3] Added check for zip-extension --- plugins/check.php | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/check.php b/plugins/check.php index f6c3640..51f6eb3 100644 --- a/plugins/check.php +++ b/plugins/check.php @@ -34,6 +34,7 @@ if (!extension_loaded('mbstring')) $error .= ('Error 301: PHP mbstring extension if (!extension_loaded('gd')) $error .= ('Error 302: PHP gd extension not activated' . PHP_EOL); if (!extension_loaded('mysqli')) $error .= ('Error 303: PHP mysqli extension not activated' . PHP_EOL); if (!extension_loaded('json')) $error .= ('Error 304: PHP json extension not activated' . PHP_EOL); +if (!extension_loaded('zip')) $error .= ('Error 305: PHP zip extension not activated' . PHP_EOL); // Config if (!isset($dbName)||$dbName=='') $error .= ('Error 400: No property for $dbName in config.php' . PHP_EOL); From ba43125b7320aaf1fa5ccb0dbbd6453a4309b458 Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Fri, 4 Apr 2014 15:47:15 +0200 Subject: [PATCH 3/3] Improved requirements (#106) --- docs/Installation.md | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/docs/Installation.md b/docs/Installation.md index b9f57e7..ece65da 100644 --- a/docs/Installation.md +++ b/docs/Installation.md @@ -1,15 +1,11 @@ ### 1. Requirements Everything you need is a web-server with PHP 5.3 or later and a MySQL-Database. -### 2. PHP configuration `php.ini` +The following PHP extensions must be activated: -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: + exif, gd, json, mbstring, mysqli, zip + +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 = 200M @@ -17,7 +13,9 @@ To use Lychee without restrictions, we recommend to increase the values of the f upload_max_filesize = 20M max_file_uploads = 100 -### 3. Download +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 The easiest way to download Lychee is with `git`: @@ -25,13 +23,13 @@ The easiest way to download Lychee is with `git`: You can also use the [direct download](https://github.com/electerious/Lychee/archive/master.zip). -### 4. Permissions +### 3. Permissions Change the permissions of `uploads/` and `data/` to 777, including all subfolders: chmod -R 777 uploads/ data/ -### 5. Finish +### 4. Finish Open Lychee in your browser and follow the given steps. -If you have trouble, take a look at the [FAQ](FAQ.md). \ No newline at end of file +If you have trouble, take a look at the [FAQ](FAQ.md).