Upgrading php to 8.3 on the (Ubuntu) server
I upgraded PHP to v8.3 (from 8.2) today on the server running baty.net. I don’t pretend to be an Ubuntu sysadmin, so I’m writing it down, just in case.
The site runs on Caddy, so I needed to change the path to the fpm socket. Here’s the Kirby section of the Caddyfile…
(kirby) {
php_fastcgi unix//run/php/php8.3-fpm.sock
@blocked {
path *.txt *.md /content/* /site/* /kirby/* /.*
}
redir @blocked /
}