Updated required PHP version to 5.5

This commit is contained in:
Tobias Reich 2015-11-14 13:08:21 +01:00
parent 52a33286b0
commit 8b32413154
3 changed files with 4 additions and 3 deletions

View File

@ -2,7 +2,8 @@
Released November --, 2015 Released November --, 2015
- Internal changes and updated dependencies. - Internal changes and updated dependencies
- `New` PHP-version-check now requires PHP >= 5.5
- `New` Preloading of big photos (#185) - `New` Preloading of big photos (#185)
## v3.0.6 ## v3.0.6

View File

@ -1,5 +1,5 @@
### 1. Requirements ### 1. Requirements
Everything you need is a web-server with PHP 5.3 or later and a MySQL-Database. Everything you need is a web-server with PHP 5.5 or later and a MySQL-Database.
The following PHP extensions must be activated: The following PHP extensions must be activated:

View File

@ -26,7 +26,7 @@ echo('Diagnostics' . PHP_EOL);
echo('-----------' . PHP_EOL); echo('-----------' . PHP_EOL);
# PHP Version # PHP Version
if (floatval(phpversion())<5.3) $error .= ('Error: Upgrade to PHP 5.3 or higher' . PHP_EOL); if (floatval(phpversion())<5.5) $error .= ('Error: Upgrade to PHP 5.5 or higher' . PHP_EOL);
# Extensions # Extensions
if (!extension_loaded('session')) $error .= ('Error: PHP session extension not activated' . PHP_EOL); if (!extension_loaded('session')) $error .= ('Error: PHP session extension not activated' . PHP_EOL);