PHP 5.2.1 upgrade + Gallery2 installation

The two aren’t really related, but they happened at the same time, so why not blog about both? I had been meaning to upgrade my server’s installation to the latest version of PHP for a while (well, about since I’d heard of the new release, to be precise). I’ve also wanted to install a web…