On Sun, 25 Sep 2022 16:23:13 +1000 Stuart Longland <[email protected]> wrote:
> On Sun, 25 Sep 2022 16:10:25 +1000 > Jonathan Gray <[email protected]> wrote: > > > fontconfig and freetype are part of the xbase set > > > > to add it after an install > > # tar -C / -xzphf xbase71.tgz > > Ahh, makes sense… I normally throw that stuff out because it's a > headless box… but no problems, I'll fetch that and load it in. Right… so got it working in the end. After loading this, I tried fiddling with `ldconfig` coaxing it to reload the library cache, but still didn't get `gd` working… however a quick reboot of the box (yes, MS-inspired solution), got things working. In short, to install Wordpress I needed these packages: mariadb-server-10.6.10v1 multithreaded SQL database (server) pecl81-imagick-3.7.0p0 PHP support for the ImageMagick library php-8.1.10 server-side HTML-embedded scripting language php-curl-8.1.10 curl URL library extensions for php php-gd-8.1.10 image manipulation extensions for php php-intl-8.1.10 intl library support for php php-mysqli-8.1.10 mysql database access extensions for php php-pdo_mysql-8.1.10 PDO mysql database access extensions for php php-zip-8.1.10 zip functions for php plus xbase71.tgz. These were configured as per the relevant README docs. Some httpd.conf tricks also for "pretty" permalinks -- these may not be optimal, but it seems to be working for now. I'll put them here in case someone else is looking at how to set this stuff up because it wasn't immediately obvious how to do it. root "/sites/example.com/htdocs/" directory { index index.php } location "/category/*" { request rewrite "/index.php/$REQUEST_URI" fastcgi socket "/run/php-fpm.sock" } location "/tag/*" { request rewrite "/index.php/$REQUEST_URI" fastcgi socket "/run/php-fpm.sock" } location match "/(20.*)/*" { request rewrite "/index.php/$REQUEST_URI" fastcgi socket "/run/php-fpm.sock" } location "*.php" { fastcgi socket "/run/php-fpm.sock" } Many thanks Jonathan. Regards, -- Stuart Longland (aka Redhatter, VK4MSL) I haven't lost my mind... ...it's backed up on a tape somewhere.

