PHP migration script from PHPBB to Flarum
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Migration Script from phpBB to Flarum Discussion

The Script performs a DB -> DB migration it will copy all usernames and emails and start date but Will NOT COPY PASSWORDS instead it will create a random passowrd which is a md5 hash of the current time that is then shad1. This means after the migration all users will need to reset their passwords

Usage Instructions

For anyone who wants to use the script here are the steps I use

  1. Create a fresh forum using the standard install instructions.
  2. When you create the forum make sure the email is different to the one in phpBB otherwise there will be some conflicts.
  3. Run the my script with the correct database parameters for you. (make sure that the script is executable and the directory writable).

Usage using phpMyAdmin tested by demmm

  1. Use phpMyAdmin on the old server with phpBB to export, download that database.
  2. Create a new forum with a clean database on the new server, for Flarum.
  3. Create another database on that new server, this one to import the old phpBB database into, and run the script.

Contributions Welcome

Thanks to all who have contributed :)