Just wonder if we have any plan to do this since 7.0 will drop official support soon.
The 7.1 has an important feature that we can set Nullable type hint.
function (?string $value): ?string
If we create some class without this hint, it will hard to change the interface declaration in the future.
Labels |
Added:
?
|
Aiming high is great but not if the web hosts dont support it ;)
These stats https://seld.be/notes/php-versions-stats-2017-2-edition are for sites using composer and you can see that even from these custom developed sites it is still too early
We don't need to change so early, when 4.0 about to release, the 7.1 market share should higher than now.
The text in the announcement was very purposefully written in a way to not lock to a specific 7.x(.y) minimum. PHP 7 will be the minimum by the time we release, whether that be .0 or .1 (for our platform, target audience, and distribution model, .2 would be shooting ourselves in the foot unless it takes another 2 years to get 4.0 out) is going to heavily be driven based on numbers and needs.
For what it's worth, the trend continues to grow upward for PHP 7.x adoption on Joomla sites. When we published the PHP 7 announcement 3 months ago, 10.99% of 3.7 sites were on PHP 7.1 and 31.04% of 3.7 sites were on PHP 7.0 (these numbers were run within 36 hours of publishing the blog post). Right now 16.16% of 3.8 sites are on PHP 7.1 and 34.78% of 3.8 sites are on PHP 7.0.
Those are great stats!!
Status | New | ⇒ | Discussion |
Category | ⇒ | Installation |
Aiming high is great but not if the web hosts dont support it ;)
What are the stats on PHP version support among web hosts?
Historically, I know that web hosts have been slow to upgrade for several reasons, but one of the main ones was compatibility; PHP has had a number of big BC breaks between versions that made it harder for hosts to upgrade without breaking their customers' sites. PHP 7.0 is one of those versions (hence why so many people are sticking with 5.6 for now), but 7.1 and 7.2 are not; they're easy upgrades; so if a host is willing to go up to 7.0, there should be very little stopping them from then moving up to 7.1 or 7.2. I don't expect many people to continue running 7.0 long term, especially once it goes out of support.
This is about the most generic stat available https://w3techs.com/technologies/details/pl-php/all/all
IMO any host that's worth the cost is letting you choose your PHP version and that means either WHM or cPanel (depending on package) are up-to-date. So for shared hosting it honestly should be less of an issue because hopefully they aren't only offering one version or forcing customer upgrades in this manner anymore (not to say they should let users stay on 5.3 forever but that one customer shouldn't block an update for others).
An equally as big issue is dealing with organizations that only let you use what comes with the OS or in its official repos (so folks running Ubuntu 14.04 are only able to use the PHP 5.5.9 build they provide and can't upgrade by either custom compiling or using a third party repo).
Just throwing in that even my cheap hoster has already PHP 7.1
I think hosters are adopting PHP7 because it actually pays out for them. PHP7 is way faster than PHP5 and thus they can shove more sites on the same server
An equally as big issue is dealing with organizations that only let you use what comes with the OS or in its official repos (so folks running Ubuntu 14.04 are only able to use the PHP 5.5.9 build they provide and can't upgrade by either custom compiling or using a third party repo).
You only need to look at the comments in the forum to understand how big an issue this is as well
Ubuntu 16.04 lts is on php 7.0 and i think it's for five years.
Labels |
Added:
J4 Issue
|
OK, I think it's time we start re-visiting this one.
So I think it's time we move to at least a 7.1 minimum, and responsibly consider the benefits and issues of a 7.2 minimum.
All in for 7.2.
7.2 +1
My host is proposing 5.6 and 7.0
5.6, 7.0 and 7.1 here. 7.2 is no option yet.
I suggest 7.2 as Minimum for 2 Reasons:
both are eol at the end of the year. They really don't have an option for at least 7.1?
No idea if he has a plan. My host is our friend Brad who is usually good at keeping things up-to-date.
The fact that he may not yet been proposing at least a 7.1 makes me feel that a lot of hosts could be well behind.
Instead of guessing the JSST have a contact list of hosts and we should ask them. Then it's a decision made from a position of knowledge and not supposition
The right question to host companies is not if now support 7.2. But if they plan to support 7.2 by mid December. Even 7.1 stops development by then and has only a year more for security issues.
Even today wordpress https://wordpress.org/about/requirements/ suggests 7.2 and not generally 7.x and recommends us to send a letter to our host :)
If joomla 4 is gonna happen after December i believe 7.2 is not so difficult to choose.
+1 7.2
Regarding hosts, also see http://phpversions.info/ (but keep in mind this is more reliant on community contributions and you're still best off directly communicating with a hosting company).
How long will Joomla 3.10 be supported? Because that will be the option for users who can't upgrade to Joomla 4 due to PHP version constraints. There will always be some users who are affected by this, whatever PHP version we lock J4 to, but the higher we go with locking to PHP 7.1 or 7.2, the more users will be affected, at least in the short term.
This isn't necessarily a reason not to aim high with our PHP version, but I think there needs to be some thought for those users who can't upgrade and are stuck on the last J3 release, and how long to support them. If we aim high with our PHP version, we may need to consider supporting J3 for a bit longer. (not in the sense of adding anything to it, but certainly fixing security issues, etc)
That may sound like I'm being negative, but in spite of that, I still stick with my vote for PHP 7.2 as a minimum for J4, because the long-term benefits outweigh the short term pain.
How long will Joomla 3.10 be supported?
@Spudley https://developer.joomla.org/roadmap.html (End of Support for 3.x: 2 years after 3.10 is released)
One more for 7.2
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-03-11 19:30:52 |
Closed_By | ⇒ | jwaisner |
Set to "closed" on behalf of @jwaisner by The JTracker Application at issues.joomla.org/joomla-cms/18562
This discussion has ran it course and no comments have been made in many months. Closing.
A better close message would be j4 requires 7.2.5 at the moment ;-)
I second this. We're forcing a PHP upgrade anyway, we may as well aim high.