From e9fb8f2c6e4ec422be737f2fe169ab8ca7e8b794 Mon Sep 17 00:00:00 2001 From: yann64 Date: Sun, 11 Oct 2026 21:56:41 +0200 Subject: [PATCH] Forum notes: specifics of the test server install Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01YDRjtmAiNpo5mK5N3d7QwZ --- forum/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/forum/README.md b/forum/README.md index 2aa40aa5..479a3857 100644 --- a/forum/README.md +++ b/forum/README.md @@ -46,6 +46,15 @@ Checked on the test server (2026-10-11): PHP 8.4 (FPM) with every extension Flar 2.4 behind nginx, `.htaccess` rewriting active. Files copied over the network share are **not writable by the web server user `http`**, and the share does not let permissions be changed. +Installed there on 2026-10-11. Things specific to this server: + +- command-line PHP is `/usr/local/bin/php84`, and needs `-d memory_limit=512M` for Flarum's + console (`cache:clear` runs out of memory with the default 128M); +- MariaDB 10 listens on port 3307: database host `127.0.0.1:3307`; +- SSH is on port 27 and has no `scp`/`sftp`: send a file with + `ssh -p 27 user@host 'cat > /volume2/web/oldcomputers-forum/storage/machines.json' < forum/import/machines.json`; +- the forum folder is `/volume2/web/oldcomputers-forum`. + No Composer is needed on the server: `make forum-bundle` builds `forum/import/forum.tar.gz`, a complete Flarum 2 tree (PHP 8.4) with the Embed and museum extensions and a top-level `.htaccess` that routes every request into `public/`, so `config.php`, `storage/` and `vendor/`