PHP 7.0 seems to be production ready. People are finding it to be 2x-3x faster than PHP 5.x. I think we should change the default PHP version to PHP 7 in Mk/bsd.default-versions.mk.
This would at least require an exp-run.
Also there are known ports which did not work together with PHP 7. A switch would render them unusable.
But i think we should start working on this, since the active support for PHP 5.6 runs out at the end of 2016:
If something is available doesn't really mean it should be default. This is the same as Perl versions, Python versions, Ruby versions, MySQL versions, PostgreSQL ver... you can continue this very long list.
There are many applications still not working with 7.0.
5.6 has next 7 month of active development and security support until 31 Dec 2018. So there are 2 more years.
It is good to have it in the the ports tree but defaults should be chosen carefully.
> there are known ports which did not work together with PHP 7
Where can I get a list of ports that don't work with PHP 7?
Look at IGNORE_WITH_PHP lines containing 70.
Any news or at least gossip regarding PHP default version switch?
According to http://php.net/supported-versions.php security updates end on (ordered chronologically):
Are there any plans what is next php default version going to be? Is the switch planned for 12.0-RELEASE?
Thank you in advance.
over to php's maintainer.
i will update it to 7.1. I created an exp-run for the update:
Created attachment 196153 [details]
Patch to change default version of PHP
Attached patch will change the default version of PHP. Please review and test it! :)
(In reply to Torsten Zuehlsdorff from comment #8)
While I haven't applied the patch you posted, I have been testing php71 for almost a year now by means of DEFAULT_VERSIONS+= php=7.1 in make.conf. I also tested php72 but a lot of php ports had problems with it, as opposed to php71. I think php71 is good choice for next FreeBSD default, as it appears to be more compatible than php72, while not significantly worse in performance.
So, when will the patch land into ports tree? Will it wait for 12-RELEASE?
Thank you in advance,
A commit references this bug:
Date: Wed Sep 5 08:04:42 UTC 2018
New revision: 479014
Switch default PHP version from 5.6 to 7.1
Reviewed by: tz, Felix Flor
Exp-run by: antoine
I committed the change right now. ;)
I tested it for the last months and the exp-run was not surprising. There is no reason to wait until 12.x.
We now have one month to test everything on HEAD before the update will go into quarterly.