Commit Graph

7 Commits

Author SHA1 Message Date
Daniel Kesselberg 79541990ca
Use PHP_VERSION_ID to check for the current php version
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-12-02 19:28:09 +01:00
Roeland Jago Douma 3021491f1c
Drop php 7.1 support
18 will be relased when php7.1 is EOL already. So lets kill it!

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-11-28 10:21:22 +01:00
Christoph Wurst e0f32814e3
Allow php7.4
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-11-27 13:34:41 +01:00
Roeland Jago Douma 3a6e739d8d
NC16 is php >= 7.1
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-21 16:04:11 +01:00
Roeland Jago Douma f675698551
Allow php7.3
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-11 11:20:48 +02:00
Morris Jobke 6d95f90361
Raise PHP version number to PHP 7.0
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-01-12 14:26:10 +01:00
Roeland Jago Douma b8af7ee9bc
Nextcloud 13 is not compatible with newer than php 7.2
Just to avoid users from trying this with a to new (untested) php version

* Moved the check logic to 1 place
* All directly callable scripts just require this on top
* exit hard (-1) so we know scripts won't continue
* Return status 500 so no sync clients will try fancy stuff

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-12-12 10:55:09 +01:00