Amiga-Z Wiki

β€œModern tools for old-school communities.”

User Tools

Site Tools


servers:ubuntu24:dokuwiki

This is an old revision of the document!


DokuWiki (Ubuntu 24 Server)

Operational notes, install steps, required PHP modules, and recovery procedures.

Server OS: Ubuntu 24 Web server: nginx PHP: php-fpm (8.3) Wiki path: /var/www/html/amigaz/wiki


Install / Initial Setup

Required Packages

sudo apt update
sudo apt install -y \
  nginx \
  php8.3-fpm \
  php8.3-cli \
  php8.3-common \
  php8.3-curl \
  php8.3-gd \
  php8.3-mbstring \
  php8.3-xml \
  php8.3-zip \
  php8.3-intl \
  php8.3-sqlite3

Restart PHP after install:

sudo systemctl restart php8.3-fpm

Required PHP Modules

DokuWiki core and common plugins require:

Module Purpose
——–——–
mbstring Text handling
xml Parser
gd Image handling
curl External fetch
intl Unicode support
zip Plugin/theme installs
sqlite3 Tagging, search, plugins
pdo_sqlite SQLite database access

Check installed modules:

php -m | egrep -i 'sqlite|mbstring|xml|gd|curl|intl|zip'

Verify PDO drivers:

php -i | grep "PDO drivers"

Expected output:

PDO drivers => sqlite

File Permissions

DokuWiki must be writable by the web user.

sudo chown -R www-data:www-data /var/www/html/amigaz/wiki
sudo find /var/www/html/amigaz/wiki -type d -exec chmod 755 {} \;
sudo find /var/www/html/amigaz/wiki -type f -exec chmod 644 {} \;

Writable directories:

servers/ubuntu24/dokuwiki.1771517749.txt.gz Β· Last modified: by freedomotter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki