bfabiszewski / ulogger-server

μlogger • web viewer for tracks uploaded with μlogger mobile client
GNU General Public License v3.0
538 stars 85 forks source link

update setup to PHP 7 or newer #104

Closed rnwgnr closed 4 years ago

rnwgnr commented 4 years ago

PHP 5.5 is utterly outdated. I've modified setup.php to check for PHP 7.0 or newer. The obsolete language strings have been removed from the files.

bfabiszewski commented 4 years ago

5.5 support is definitely not needed, but we could safely stay with 5.6 as minimum. No need to raise requirements unless we really need new features of version 7.

rnwgnr commented 4 years ago

This may be true from a feature perspective, but PHP 5.5 (end even 7.0) are officially end of life and are not patched anymore: https://www.php.net/supported-versions.php

So from a security perspective, we should even force 7.1 and newer.

virtadpt commented 4 years ago

Hosting providers are starting to rip out PHP v5.x entirely. Pretty soon, it'll be v7.x or nothing.