It’s been over a month since my last blog – the longest gap since I started blogging 2 years ago. Yes, it’s been 2 years since I started on this journey of talking to myself 🙂 There are just too many things fighting for my time at present, with my new contract, daughter and dog taking up most of it.
I’ve been looking into potential replacements for the current internet/intranet solutions at work, so decided to have a play with MediaWiki as they are using this for a few things, but could be using it more.
It feels like quite a long time since I blogged about PHP, and that’s because it is! Over 5 years, to be precise. Unsurprisingly, none of the supported versions of PHP I was running back then (7.2 and 7.3) are supported today. How about we start with a similar timeline from the PHP website:
As you can see, only 7.3 is still visible on their support roadmap, and support for that ended back in 2021! 7.4 is pretty much the minimum most web-based applications will work with now, but support for this ended just a year later, at the end of 2022.
Fortunately, most of my online services are running supported versions, but some are proving more problematic to update than others, and I’m not entirely sure how to upgrade them all.
The process for updating my TrueNAS/FreeBSD jails is still pretty much as described in the blog from five years ago. The PHP modules change occasionally, with some dropped as they’ve been included in the core and some new ones added, but they’re mostly pretty straightforward. Here’s a quick table of my services using PHP:
LimeSurvey
7.4.32
MediaWiki
8.2.24
Nextcloud
8.3.12
Pi-hole
8.1.2
WordPress (live)
8.3.12
WordPress (test)
7.3.12
APE Services PHP Versions
LimeSurvey is running in a FreeBSD jail, which I’ve updated to 13.4. This will undoubtedly cause me problems, as 7.4 is no longer supported, so a pkg update && pkg upgrade will break things by removing PHP. I have updated the database to 10.6, and LimeSurvey is running the latest version. Still, when I update PHP to anything other than 7.4, I get the error reported here on the LimeSurvey forum. When I get some free time, I’ll play around a bit more, but this one might need to be rebuilt, perhaps starting to move away from jails to docker containers.
I rebuilt MediaWiki as much as a test as anything when I had some database upgrade issues. This is running a supported version and could be upgraded further if required. The suggested version was 8.2, so that’s where I went.
I upgraded NextCloud to the latest version, and that seems to be running fine, although I have noticed a few issues in the TrueNAS console where PHP is exiting in this jail, so I will need to keep an eye on things:
Nov 4 13:21:48 freenas0 kernel: pid 29684 (php-fpm), jid 36, uid 80: exited on signal 10
Pi-hole is running in its own VM, following the instructions on the website and using the simple curl build script. Other than updating things when I noticed a new version, I’ve not tried to do anything with PHP. It’s still receiving security updates until the end of 2025, so I have about 12 months before I need to do anything.
My live WordPress jail, where this blog is hosted, runs 8.2 and could be updated to 8.3. I’m not really sure why I haven’t done that, so I will before the end of the year. UPDATE 10-Nov-24: It is now running 8.3.12!
My test WordPress jail is running in a VM as a docker container, and other than updating WordPress, I’ve not touched the docker container. This is still running 7.3, and I really need to consider updating this, but I’m unsure where to begin. I will need to understand Docker a little more than I currently do if I’m considering migrating from TrueNAS Core to Scale at some point in the future, so this might be a good place to start. It wouldn’t be the end of the world if I completely broke this and needed to create a new test environment.
Anyway, this is starting to sound like one of my annual ‘state of the server’ blogs, and given we’re not too far from the end of the year, I might be doing one of those again, very soon (sorry, Chris)
This has now become a regular annual update, but I really didn’t think after the crazy year of 2020 (blogged about here), that we’d be in a very similar situation at the end of 2021. I’ve spent the whole of 2021 working from home, working for the...
Well, almost! It’s been a little while since I blogged about upgrading PHP here, and while I think I’ve done one update (from 7.4.4 to .13) I haven’t kept things all that up to date. I thought it was about time to change that, and overall they were pretty painless upgrades.
Although this is going to be similar to my New Year update at the beginning of 2020, this New Year TrueNAS update feels very different! I’ve been working from home since March 2020 and for at least some of the year had a little more time to play around with...
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.AcceptRejectRead More
Privacy & Cookies Policy
Privacy Overview
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
Recent Comments