-
Notifications
You must be signed in to change notification settings - Fork 384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump minimum PHP version from 5.6 to 7.0 #7031
Comments
Its funny.
|
I didn't delete your review and I didn't block you. This was done by a forum moderator because you violated the support forum guidelines. The forum moderator explicitly contradicted you when you said that WordPress requires PHP 7: WordPress requires PHP 5.6 but recommends PHP 7.
Where do you find here that WP doesn't support 5.6? I never said that. I just said that only 6.6% of WordPress installs run on 5.6. So it's not worth the maintenance burden to remain compatible with 5.6. By increasing the minimum version, users will be forced to upgrade. WordPress core already warns users of PHP 5.6 to upgrade due to being slower and insecure. It's shown as a big metabox on the dashboard. Again, as I've said over and over again, the AMP plugin does not require PHP 5.6 instead of PHP 7 and PHP 8. It is compatible with all these PHP versions, the same as WordPress core and other popular plugins. Yoast SEO has a minimum PHP requirement of 5.6 the exact same as the AMP plugin. WordPress core recommends PHP 7 but still supports PHP 5.6. We and other popular plugins have done the same. Plugins are slowly bumping the minimum version to PHP 7 since there are fewer and fewer installs running PHP 5.6. It's the same situation as WordPress and Internet Explorer. Until recently WordPress supported Internet Explorer but it didn't by any means require using IE11. You were recommended and encouraged to use a modern browser. But IE11 support was dropped when usage dropped low enough to warrant compatibility. It's the same situation for PHP compatibility. |
Feature Description
As discovered in a support topic, when Composer runs now on PHP 8 it will generate an
autoload_real.php
that causes syntax errors for PHP 5.6. According to the latest WordPress Statistics, PHP 5.6 only accounts for 6.6% of all installs, and any site running that version of WordPress gets a big upgrade warning shown on the Dashboard. PHP 5 versions older than 5.6 (which WordPress doesn't support now either) take up 2.9%. Given that PHP 5.6 is significantly slower than PHP 7 and PHP 8, it is not in the best interest of users to allow them to stay on this old version either in terms of PX.README.md
.amp.php
, in both the metadata header and theif
version check statement.build-test-measure.yml
testing matrix.install-pwa-plugin
matrix property (since alwaystrue
).external-http
from 5.6 to new lowest PHP version 7.0.build-zip
GHA step (see Downgrade PHP version from 8.0 to 5.6 for development builds #7030).Remove any tests that targeted PHP<7.Add step to deploy command that lints the files invendor
for PHP 7.0 compatibility (e.g. via phpcs).Acceptance Criteria
No response
Implementation Brief
No response
QA Testing Instructions
No response
Demo
No response
Changelog Entry
No response
The text was updated successfully, but these errors were encountered: