1. Ah.. the Dev Chat LOG. I thought this was a missed schedule :)

  2. @Kel – I know the title seems misleading but the meeting took place on Thursday, July 30th which is why I chose to put that date in the title. In the future. I hope to be a little more punctual with the post.

  3. _ck_

    It’s hilarious how WP devs are in a rush to use x.0 products like 5.3.0
    They’re only on 2.8.3 already in 30 days and possibly not done yet.

    Somehow I do hope they force the 50% of people still on PHP 4 to stop using WordPress and search for other programs. It can only help other projects.


    1. force people to keep upgrading constantly to maintain security no matter how it keeps breaking everything

    2. eventually make a version 50% of your base can’t upgrade to because it won’t work on their host, leaving them open to security issues

    Should end well.

    ps. Objects are not faster, they make it easy to cache bloated things but they certainly are not faster by any means. All that copying around in memory adds up. Running on 5.3 will give you a 5-15% speed boost over 4.4.9 but it doesn’t magically thin bloated code.

  4. _ck_

    Sorry, I should correct my thoughts in that not all WP Devs are gung-ho for 5.3, only a select few.

    And it’s not 15% of the userbase using PHP 4, I’ve done a survey of 6000+ sites running bbPress and WordPress and the number is closer to 50%

  5. @_ck_ – Well, most of what I read points to 5.3 not being an option to move towards. It’s more like PHP 5.0 at the least. Also, the suggestion was brought up by a user to discuss at the meeting, not proposed by the core developers. About the percentage, WordPress phones home to the WordPress API to check for plugin, theme, core upgrades. Part of the information that is sent back is the PHP version the site is running on. So in that case, wouldn’t they have the more accurate numbers?

  6. Re: the “nag page” idea… I’d be curious to see some opportunity for user feedback on that page. Maybe that’s a good way to get some more solid information regarding percentages of people still on PHP4?

    I’m one of those people still currently using PHP4.4.4. I have no control over my web host’s decisions regarding what they update and when. So if WP moves to PHP5-only, that means i either don’t upgrade for an indeterminate amount of time, or i find other software to use. I don’t like the idea of being given an ultimatum based on something over which i ultimately have no control – and that alone may make me decide to start using other software.

  7. @Lindsay – Well, it’s not like this changeover to PHP 5 or above is going to happen overnight. It’s a gradual change with 2.9 having the nag screen and more so when 3.0 comes around. Perhaps when the page is created in the Codex, I’ll publish a follow up article letting you know but I’d imagine percentages based on what they know will be published in that page.

    Most Webhosting companies are setting up to allow you to switch from PHP 4 to 5 or they might have upgraded the PHP behind the scenes which is what has happened with my webhost. If your webhost is stuck using PHP 4, I highly suggest submitting a trouble ticket asking them if they could upgrade their version of PHP and if not, explain the reasons why as it makes no sense unless the majority of their customer base is using PHP 4 based scripts.

    No need to freak out right now as there is still plenty of time left before the switch.

  8. @_ck_: I think Automattic’s stats on 13M WP installs trumps your 6K. Also, 95% of all statistics are crap. No, really — I’ve got numbers to back that up.

    Migrating WP to require PHP 5.3 isn’t likely to happen for quite a while. PHP 5.0? Yes. And 5.2 might not be *too* far off (comparatively speaking). But 5.3 is a *major* change, and as mentioned in the chat log, even a lot of developers don’t have 5.3 installed on their dev servers yet. It’s not only brand-spanking new, it has some pretty major changes under the hood that can break compatibility (or certainly at least cause new warning to be generated).

    Any web host still on PHP4 that doesn’t at least offer PHP5 as an option BY NOW is just asking for a world of hurt via lost customers.

  9. I suggested 5.3.0 because of Object Oriented programing benefits. As a developer, I can’t take advantage of the new tools PHP brings to us because on the PHP min requirement right now. I love bring new features, but I can’t do that if I am forced to PHP 4 users. I might be moving all my plugins to at least 5.2.x and that would cause upgrades

    It would be nice to get a full API reporting system so we know what most WordPress users are using for PHP versions overall. I think though a lot of the pluging authors, are moving towards Object Oriented class based systems. I done now two plugins and converted my theme to a class based system and the benefits for organization have been incredible.

    PHP 5 would also get rid of globals. A huge issue. Just food for thought…..

  10. Jeffro,

    I’d be really happy to have the chance to vote on feeds to be included in the WordPress Planet feed.

    WPT should definitely be included (it is already right, at least some posts are?).

    There’s one blog in there which should be taken out – it just posts very generalised information. In a couple of cases, to do with SEO and Adsense, the advice being given wasn’t particularly accurate. It smacks of being written by someone who’s just read a little bit and is trying to pass themselves off as an authority. Maybe I’m being a bit harsh, but it got under my skin when I saw inaccurate information being served up to people.

  11. _ck_

    @Dougal, You’re right, I forgot that WordPress phones home with everyone’s server information (unless you know how to unhook the action, there is no opt-out or opt-in or warning about privacy). So they do indeed know 99% of everyone’s PHP info, their server version and IP, what plugins they use and other info.

    My PHP version statistics are not made up and not out of thin air, I really did survey that many sites for bbPress back in April (and will include thousands more in October). However I did glance at them wrong in my rush to post and did not add up the different 5.x versions properly, so the PHP 4 use is closer to 25% than 50%, but most certainly higher than 15%. I’ll post the exact numbers of what I find in October on bbPress.org.

    The WordPress community is NOT just made up of sophisticated users on dedicated or VPS servers who know what they are doing and how to keep up with PHP. There is a far greater number of average users on shared hosting who do not have control over their PHP (nor want to care about it, they just want to blog).

    I don’t think PHP 4 should be supported “forever” or past next year. But another year isn’t going to kill WordPress development. There is nothing so wonderful in PHP 5 that can’t be easily emulated in PHP 4. I have no problem with a nag in 2.9 (and 2.9.1 and 2.9.2 and 2.9.3 lol).

  12. @Stephen Cronin – Thanks for your continued support Stephen. It’s appreciated. Right now, none of WPTavern.com is in the official WordPress planet feed. However, the WordPress.org category on this blog is part of Ozh’s planet WordPress.

  13. @Jeffro – Well WPT should be in the official feed!

    It’s high time they reveiwed the included feeds. I’d suggest that they should do this on a 6 monthly basis (or at least yearly) so they can add new high value sites and remove any that stop posting or take a dive in quality.

    Because being included in the feed is valuable in terms of extra traffic etc, I think they need to select the sites very carefully. A public survey is a good way to do it IF they can make sure it’s not gamed..

  14. @Stephen Cronin – Hah, you know, recently I went through every feed that Ozh had on his planet WordPress so I had them all in my FeedReader and I’d say a third of the sites were outdates, junk, not WP centric anymore, etc. I emailed him a list of these domains and he was appreciated of that so he could clean off the list. The WordPress community is an evolving series of sites that spring up but very few manage to live to a point where they become a recognized resource in the community. Just in my time running the Tavern, I’ve seen a number of WordPress sites spring up and 3 months later, they are done for.

  15. Interesting to hear that PHP4 usage is so high. I thought only very obscure web hosts would still be running that. It’s got to be quite limiting for them only running PHP4 as many softwares available these days require at least PHP5.

    I’d vote for WP Tavern to be in the planet feed. You have the best WordPress news around and spreading it to a larger audience would be entirely sensible.

  16. @_ck_ – Granted, I’d like to know more about the stats from Automattic, too. Did they just use a raw count of every blog that phones home? Did they do any adjustments for multiple blogs running from the same host? What about multiple blogs on the same host, but some are using PHP4 and some on PHP5? Did they lump all users at a particular hosting provider together? How many of those blogs currently on PHP4 already have the option to upgrade to PHP5 via their host’s control panel? All these factors could affect the statistics.

    And keep in mind also, PHP4 has been unsupported for, what, a year now? There are no more updates coming, not even security-related, for PHP4. And it’s not like that news came out of the blue, hosts should have known about it and been preparing for it back then. I’m glad that WP is finally making a move to officially drop support for PHP4.

  17. I’ve noticed quite a few web hosts provide both PHP4 and PHP5 in their hosting packages but that they default to running in PHP4 unless you you specify it to use PHP5 in your control panel or .htaccess file, for example with 1&1 you have to add:

    AddType x-mapp-php5 .php

    So, I guess if some hosts are running PHP4 as default, this might account for the high percentage of PHP4 WordPress installs.

    I wonder with the “nag page” idea wether people should be reminded that they may be able to configure their web hosted to run PHP5, and that is is often a very easy process.

Comments are closed.