2016-07-14, 06:22 PM
Our intentions
Why?
Additionally, by requiring higher PHP version the MyBB project joins the movement to push for larger adoption of modern and updated environments (including shared hosting and VPS/dedicated/cloud server providers that have latest software available out of the box) providing latest technologies.
Drawbacks
Given PHP 7's throughput approaching 100% increase when compared to 5.6, we expect shared hosting and pre-installed server image providers to update their packages relatively fast.
This decision may affect other dependencies, such as database engines, and third party libraries, however our code compatibility issues are mainly associated with PHP.
Looking forward to your feedback,
The MyBB Team
- Set the minimum required version of PHP to 7.0. This will allow us to take advantage of new and extended constructs such as type declarations, which indicate possible inconsistencies at the point of writing new code.
- Follow the Active Support with 6-month grace period. MyBB's releases will support PHP branches that are officially maintained and those for which Active Support ended within 6 months (180 days) at the point of our release.
- Requirements for environment will be increased at minor-point release. Our requirements for versions of packages like Apache/nginx, PHP, MySQL/MariaDB, etc. could be increased with each x.Y release (for example from 2.3 to 2.4).
Why?
- Increased performance due to PHP's built-in optimizations,
- more language constructs and solutions available to MyBB developers and contributors, resulting in easier and faster development,
- greater support for assuring code quality and testing (such as scalar type hints in PHP),
- ability to use frameworks and libraries that already require higher PHP versions,
- up-to-date PHP branches actively receive bugfixes, increasing stability and security,
- reducing impact of incorrect behavior of unsupported PHP versions.
Additionally, by requiring higher PHP version the MyBB project joins the movement to push for larger adoption of modern and updated environments (including shared hosting and VPS/dedicated/cloud server providers that have latest software available out of the box) providing latest technologies.
Drawbacks
- Reduced support on shared hosting providers with outdated software,
- necessity of upgrading it by server administrators in case of self-managed servers.
Given PHP 7's throughput approaching 100% increase when compared to 5.6, we expect shared hosting and pre-installed server image providers to update their packages relatively fast.
This decision may affect other dependencies, such as database engines, and third party libraries, however our code compatibility issues are mainly associated with PHP.
Looking forward to your feedback,
The MyBB Team
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪ keybase.io/devilshakerz