All guides

How to install phpBB step by step on your hosting

phpBB is the longest-running free forum software still in active development. It is stable, has thousands of extensions and runs on almost any host. Installing it takes under an hour.

Shortcut: many hosts include an auto-installer (Softaculous or similar) that installs phpBB in one click. If yours does, use it and skip to part 5.

Part 1: check the requirements

  • PHP 7.2 or later. phpBB 3.3 runs on current PHP 8 versions; choose the newest your host offers that phpBB lists as compatible.
  • A database: usually MySQL or MariaDB. PostgreSQL and SQLite also work.
  • Common PHP extensions such as json, mbstring and GD.
  • A domain or subdomain with HTTPS enabled.

Part 2: create the database

  1. In your hosting panel, open MySQL databases.
  2. Create a database and a user with a long password, and give the user all privileges on it.
  3. Note the database name, user, password and host (usually localhost).

Part 3: download and upload phpBB

  1. Download the latest stable release from phpbb.com only.
  2. Unzip it and upload the contents of the phpBB3 folder to your public folder (often public_html), or to a subfolder such as /forum.

Part 4: run the installer

  1. Open your domain. phpBB shows the installer.
  2. Check all requirements are green.
  3. Create the admin account with a unique, strong password.
  4. Enter the database details from part 2.
  5. Set up email (defaults are fine to start) and name your board.

Part 5: first security settings

  • Delete the install folder. phpBB will not run until you do.
  • Turn on anti-spam verification at registration.
  • Require email activation for new accounts.
  • Restrict links for new members.
  • Schedule backups of files and database.

Part 6: get ready for members

Create a few categories, pin your rules and seed your first topics. See how to organise forum categories and our forum rules template.

Keep it updated

phpBB releases security updates from time to time. Follow announcements on phpbb.com, back up before every update and disable incompatible extensions first.

Frequently asked questions

Is phpBB free?

Yes. It is open source under the GPL. You pay only for hosting and a domain.

Can I install it on free hosting?

Some free hosts allow it, but limits on resources and email make paid basic hosting a better long-term choice.

phpBB, Flarum or Discourse?

See phpBB vs Discourse vs Flarum.