Debian 8/9 included PHP Versions EOL on 12/2018 - Nextcloud requires PHP7

Hi at all,

yesterday I checked my nextcloud Server and read a warning.
"NC 13 will be the last version supporting php 5.6"
NC 13 Support will remain until 12/2018 (https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule)

PHP Support:
http://php.net/supported-versions.php

Upgrading to Debian 9? - Possible - but no good idea, because in Debian 9 (https://wiki.debian.org/PHP)
only PHP 7.00 is included - which is also EOL at the end of the year.

Docker might be a solution, but I only a few Vserver are “docker ready” - mine is it not.

One alternative I just found:
https://flobee.cgix.de/php70-php71-jessie-stretch-dotdeb-alternative-sury/

But will kopano support PHP 7.2 on Debian 8/9?
I remember some other posts where I read “we only support the OS build in php version”

Now I don’t really know what to do -any suggestions?

best regards
Andreas

But will kopano support PHP 7.2 on Debian 8/9?

https://packages.debian.org/search?keywords=php7 => it’s not there, so no

the consequence would be debian won’t be supported anymore…

I can recommend the sury.org alternative repository for PHP. It’s run by one of the PHP maintainers for Debian and is reliable and up to date.

but what helps survy.org if kopano will not support it?
@Kopano Team - could you please give us a look for the future?

Hi @AnotherAndy,

you have already stated our general position in your opening topic:

@anotherandy said in Debian 8/9 included PHP Versions EOL on 12/2018 - Nextcloud requires PHP7:

I remember some other posts where I read “we only support the OS build in php version”

If you want to use PHP 7.2 then the general recommendation is to move to a distribution that supports it out of the box (Ubuntu 18.04 would be one of those). Alternatively the Docker/Containerisation approach is popular as well.

@anotherandy said in Debian 8/9 included PHP Versions EOL on 12/2018 - Nextcloud requires PHP7:

but what helps survy.org if kopano will not support it?

Its just that we don’t support it with our packages. One could take the source code of php-mapi and compile a version compatible with it.

Hi Felix,
thanks for the confirmation.
I will check out a Docker solution than.

best regards
Andreas

@AnotherAndy if your vps does not support docker this may be interesting. For my private sytems I am using Netcup (reflink) for a while now. They are not really expensive and you can even install servers from iso images.

PS: they even offer discount codes for virtual servers. If you want one let me know.

@anotherandy

I am old fashioned, I have a physical box running Linux with VirtualBox on it and I run all the virtual machines there. Works fantastically well. And doesn’t cost anything other than the electricity.

hi @fbartels ,
thanks - I think Netcup will be my future Hoster :-) - I am already in contact with my current hoster, when I can end the contract.
If I choose Netcup I’ll send you a private message.
@mcostan - yeah a root server is also pretty good - but too powerfull for me. currently i only need 2 GB of RAM and 2 CPUs.
thanks a lot for your help and suggests.
best regards
Andreas

Possible - but no good idea, because in Debian 9 (https://wiki.debian.org/PHP)
only PHP 7.00 is included - which is also EOL at the end of the year.

But D9 will keep PHP7.0 alive for as long as it’s needed (until D10 has a reasonable foot, i.e. 2020).

@jengelh said in Debian 8/9 included PHP Versions EOL on 12/2018 - Nextcloud requires PHP7:

But D9 will keep PHP7.0 alive

that is of course true as well

@jengelh

Question, how about running Kopano on a virtual machine (or server) and the cloud on another one? This way you have no coupling between the two.

That’s what I do.

@mcostan that is of course the obvious answer. depending on your user load I would even go as far to recommend to always run kopano on a dedicated machine.

…hmm. I think Debian support PHP7.2 in the Buster-Release.

https://packages.debian.org/search?suite=buster&keywords=php7.2

And…yes. You should split your Web-Services from Kopano (core) to different Servers.

Even better,

https://packages.debian.org/search?keywords=kopano
so dont worry the Debian devs will keep this going.