It’s become somewhat of a tradition to do a PHP version round up at the end of the year. In 2014 Anthony Ferrara posted PHP versions in the wild and last year I continued the tradition (with his blessings) with my PHP version roundup post. This is a continuation of that post.
In this post I’ll be detailng:
patch version fragmentation % change in install numbers % of installations running an insecure or out of date PHP version.
For the first time in 12+ months I made a code contribution to open source and it feels awesome! I’m delighted to say homebrew now includes PHP 7.1 (less than 48 hours after release).
A lot of hard work goes into FOSS and the communities around it; and most of my time has been community centric and not code. In part its because I’m busy on the community side and partly a sense of cautious sense of ‘someone else would be better at making that contribution’.
Last year I published this handy guide for installing PHP 7 on homebrew. This week, I went and bumped my local machine to the new 7.1 beta3^, and here’s how.
If you’ve already installed 7 locally, chances are you’ve already run a simple sudo xcodebuild -license to sort out Xcode’s license agreement.
Steps to upgrade Update 3 December 2016 — PHP 7.1 is now stable and this guide is updated accordingly.
Update 3 December 2016 — This post is out of date. Please see this post for PHP 7.1. Important This guide is for PHP 7.0; Please see my guide for PHP 7.1 instead. There’s rarely a quiet night in with me, tonight I upgraded my local box to PHP7 (so I don’t need to use VM’s or docker containers). Took about 10 minutes on my internet connection so there’s time to grab a coffee while it downloads!
Last year, Anthony Ferrara posted an excellent round up of PHP versions in the wild, specifically focusing on the volume of un-patched versions running production websites. Even as an estimate it was an eyeopening moment for many people.
12 months on I’ve reproduced this report focusing on:
patch version fragmentation % change in install numbers % of installations running an insecure or out of date PHP version. Introduction Methodology Matching Anthony’s approach, data is taken from w3techs.