Mailinabox: Make use of newer PHP

Created on 17 May 2016  路  14Comments  路  Source: mail-in-a-box/mailinabox

PHP 5.5 end of life is near and PHP 7.0 is out, and will be compatible with the soon-to-be-released roudcube 1.2 (release candidate is currently out).

If PHP 7 is not feasible, use PHP 5.6.

Most helpful comment

Yes. ownCloud 8.2 and 9 is also compatible with PHP 7 :wink: We should move (for Security and Performance reasons) :+1: @JoshData

All 14 comments

Yes. ownCloud 8.2 and 9 is also compatible with PHP 7 :wink: We should move (for Security and Performance reasons) :+1: @JoshData

Using PHP7.0 would also simplify #758. Ubuntu 16.04 doesn't offer every package we need for PHP5 (eg. php5-sqlite) and we'd end up supporting two PHP versions.

We're using the PHP shipped with the OS. The best way to move that forward would be to help on #758, #777.

I don't really see, how working on #777 would exactly help this issue.

However, I would see this issue independently of the other referenced issues.
While Canonical will support EOL software with security updates (as clarified here), this should not be where people settle.
Newer PHP versions usually mean enhanced security, more features and better performance.

Especially with PHP 7.0 the performance benefit has been enormous, and using ondrejs ppa it's easy to install the latest (or desired) version.

I can create a PR for this if you want ...

777 is the blocker for starting on #758.

So?

Since PHP 7 is in Ubuntu 16.04, fixing #758 would mean we would be shipping PHP 7.

But that would leave users of 14.04 behind, and its EOL is in 2019.

It will take a long time until Ubuntu 16.04 is provided by every cloud Provider (Nearly no one does yet :grin:) Thats why I think we will ship MiaB with an 14.04 base at least 1 year from now. We must decide wheter PHP7 is such Important that we ship it seperatly. In my opinion - yes - but i dont know how much work it would be for @JoshData and the Maintenance :grin:

PHP7 has such a vast set of various improvements that I would say one has to argument against it instead of for it.

I would say one has to argument against it instead of for it

Great. We'll leave this issue open for folks to argue against upgrading PHP.

I think Z-Push-contrib is not ready for PHP7, yet. (fmbiete/Z-Push-contrib/issues/243)

FWIW, I just noticed that Roundcube's CardDAV plugin complains about PHP 5.5 as well in its settings:

carddav

However, I do see my ownCloud contacts when composing mails, so it doesn't seem to be a problem atm.

https://plugins.roundcube.net/packages/roundcube/carddav says:

RCMCardDAV requires at least PHP 5.6.18. Older versions might work if the version check is disabled using the $prefs['_GLOBAL']['suppress_version_warning'] configuration entry, but this is unsupported.

Z-Push is just about ready for PHP7: https://jira.z-hub.io/browse/ZP-804

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yousuffarhan picture yousuffarhan  路  7Comments

fmonts picture fmonts  路  6Comments

arctic-ice-cool picture arctic-ice-cool  路  8Comments

jalogisch picture jalogisch  路  5Comments

glaszig picture glaszig  路  8Comments