WordPress To Show Warnings on Servers Running Outdated PHP Versions (zdnet.com)
The WordPress open-source content management system (CMS) will show warnings in its backend admin panel if the site runs on top of an outdated PHP version. From a report: The current plan is to have the warnings appear for sites using a PHP version prior to the 5.6.x branch (5.6 or lower). The warnings will contain a link to a WordPress support page with information on how site owners can update their server's underlying PHP version. In instances where site owners are running their WordPress portals on top of tightly-controlled web hosting environments, the web host has the option to change this link with a custom URL pointing at its own support site. [...] Around 66.7 percent of all Internet sites run an unsupported PHP version, according to W3Techs. Almost a quarter of all internet sites run on top of a WordPress CMS.
Shitty website detected
other similar software already does this on the backend, and have for years. color me impressed with the wordpress team.
And if that doesn't work we'll start posting warnings to the front end!
"Proudly Powered by an pwnable package of PHP"
... and it already complains about PHP 7.0 being outdated, although that's still the default on current long-time support systems like Debian Stretch or Ubuntu Server 16.04...
The number of sites I host is not huge, but I've run into problems with some current software like MyBB while in the process of switching as many sites as possible to at least PHP 7.2.
If many PHP sites still run on outdated PHP versions, it's not necessarily just because the admins were lazy and irresponsible...
I bet the typical "solution" to this problem will be not to update WordPress.
Hating on PHP is a litmus test for who not to hire.
PHP lets you write code as good or bad as you are as a developer.
Work Safe Porn
Probably much more effective. However, if you just never update anything then there is no reason for the message to ever appear ...
7.0 is current on most every stable release. Running Raspian Stretch, 7.0 is my best version. Loading a Buster image is costing too much space, and I'm not ready to put the 32GB chip in there just to satisfy some nerdy desire to align with the most current PHP version. This isn't the 90s, and PHP-Nuke isn't a thing so much. Let it go. And forcing me to third-party repos isn't necessarily an improvement to security.
Buster seems ready to freeze in a few months. WordPress should kindly let this go, also. There are greater threats. It's interesting that PHP updates and everyone loses their mind UPGRADE ALL THE PHP NOW!
deleting the extra space after periods so i can stay relevant, yeah.
Doesn't that cover all of them?
EZ-click millennial "programmers" who built a shitty CMS just ADDED A WHOLE LINE OF PHP ASSEMBLY
if ($PHP_VER < whatever )
echo "Warning: running old PHP on your crapsite is now considered news. Do something. Maybe"
Since WP's initial release in 2004, PHP has improved a lot, WordPress has not. WP is the textbook for writing terrible PHP.
Now WP thinks they can shame hosting providers into upgrading PHP, while their own product is insecure by design? Good luck with that.
What about redhat / centos php?? will it flag it?
Joomla has been doing this for awhile.
It's a nice help for getting clients to see the need for upgrading the PHP version.
... is to hold a printout of it's Datamodell in front of your webcam when logged in to the Dashboard. WordPress then usually just blushes ashamed, wordlessly crawls into a corner and doesn't bug you for the rest of the day.
Works every time.
We suffer more in our imagination than in reality. - Seneca
One of the things that pops up in regular security audits is that the version of PHP or SQL we use "has bugs", and we should update immediately. When pressed to tell us which bugs make it insecure, we get a list... which does not include any features we use. And when they try to exploit the vulnerability, they find that it doesn't work... since they can't trigger something that isn't there.
It doesn't mean we do not move forward - just that, if you write good code to begin with, the bugs are not a factor.
It also means that we do not use ANY outside libraries, because we cannot control how well THEY were written. Hence, no Wordpress on any of our servers!
Every "old release" detection mechanism flags RHEL/CENTOS, especially security scanners. They seem to think the version number means everything.
anyone who says PHP/Python can solve anything...
just let that sync in.
Let me know the next time a spaceship runs on PHP/Python.
Let me know when your life support system runs on PHP/Python.
Drops Mic.
WordPress has jumped the shark.
There is only one explanation for the recent sabotage of the project. Sexual favors.