MirrorNest
← Tutte le guide

Flarum

Flarum is a modern, lightweight forum platform installed with Composer, then finished through a browser-based setup wizard.

Sistema: Ubuntu 22.04 LTS (PHP 8.3+, Apache/Nginx, MySQL/MariaDB or PostgreSQL)CommunitySito ufficiale ↗Documentazione ufficiale ↗
Questa guida è redatta a partire dalla documentazione ufficiale di Flarum, linkata sopra — verifica sempre lì i nomi esatti di pacchetti/versioni prima di eseguire questi comandi su un server di produzione, poiché le versioni della distribuzione e del progetto cambiano nel tempo.
  1. 1Check requirements

    Confirm PHP 8.3+ with curl, dom, fileinfo, gd, json, mbstring, openssl, pdo_mysql, tokenizer, zip and session extensions, and a supported database (MySQL 5.7+/MariaDB 10.3+/SQLite 3.35+/PostgreSQL 10+).

  2. 2Install Flarum with Composer

    composer create-project flarum/flarum:^2.0.0 --stability=beta .
  3. 3Set folder permissions

    The web server user needs read/write access to the root, storage and assets directories.

    chmod 775 -R /path/to/directory
    chown -R www-data:www-data /path/to/directory
  4. 4Configure the web server

    Point the webroot at the public subdirectory and enable URL rewriting (mod_rewrite for Apache, or Flarum's provided .nginx.conf for Nginx).

  5. 5Finish setup in the browser

    Navigate to your forum's URL and follow the on-screen installer to configure the database and create the admin account.