Redux
As a web developer, I like to build and rebuild websites. My own website is no different.
bootstrap codeigniter debian fediverse jquery markdown mastodon php
Homepage: https://php.net
A popular general-purpose scripting language that is especially suited to web development. Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
Find more posts tagged with "php" on Mastodon .
Updating some CodeIgniter instances to 4.5.0. There are breaking changes: codeigniter4.github.io/userguide/insta…
Upgraded a busy Debian web server last Thursday night and so far I've only received one reported issue. Not bad considering the amount of old PHP applications this thing runs. I was expecting a busy weekend fixing issues, but it never happened. I did spend a while testing everything before the upgrade, so that probably helped.
Today, I've mostly been head scratching over an issue with some PHP code, turns out the problem was due to the date getting out of sync in WSL2. I think this happens when I put my laptop to sleep?! Anyhow, I've installed the ntpsec package which immediately fixed the issue. Will keep an eye on it.
Listening to Linux Downtime episode 86 - the hosts have some interesting thoughts about nerd flex and programming languages. PHP gets a pretty rough ride, which I think can be attributed to the host's ignorance. Personally, I love PHP and I know there are many PHP developers out there who feel the same -- the PHP community on Mastodon is awesome.
Fixing another old site to run without errors under PHP 8.2. Mostly seeing notices about dynamic properties, so nothing too bad so far.
Fixing bugs that only appear in the development environment because the error reporting is verbose. There must have been a change to the error reporting levels on the development server since this code was last worked on.
This afternoon I've been playing with PHP and GD to dynamically create Open Graph images. I then moved a website from a shared host to a VPS -- the VPS is proper quick in comparison.
Starting my day by converting a small CodeIgniter 3 app to CodeIgniter 4. It's a microservice and it only has 2 routes and 2 controllers, so it should be a quick win.
Replacing some manually installed PHP libraries with Composer dependencies. I'm sure they were only ever installed manually as a stopgap, but I can't help think it would have been cleaner and possibly easier to use Composer in the first place.
Looking at an old version of Dompdf and considering if I should update it, or switch the app to use a service built with Puppeteer or similar. I'm thinking Puppeteer might provide faster PDF renders.
There may be times when you're building a long-running script in PHP and you want to notify the user when the script has finished running. This could be to let them know that the script has finished successfully or to let them know that there was an error.
NativePHP is a new way to build native applications, using the tools you already know.
My name is Philip Newborough and I’m a full stack web developer living and working in Lincoln, England. This website (philipnewborough.co.uk) serves as my personal homepage. When I’m not working with tech, I love to ride bicycles with my wife and friends.