Page 1 of 1

import databse / move forum to new site

Posted: Wed Apr 19, 2023 12:07 am
by zemerdon
archive domain directory.
copy sql backup(s) to /store folder
install phpbb into new domain.
backup NEW config.php
login to ACP and restore backup.
extract archive to new domain directory.
copy NEW config.php back over and edit to reflect old database changes.
change ALL pdf links etc to new site

cat config.php

Code: Select all

<?php
// phpBB 3.3.x auto-generated configuration file
// Do not change anything in this file!
$dbms = 'phpbb\\db\\driver\\mysqli';
$dbhost = 'localhost';
$dbport = '';
$dbname = 'dbname';
$dbuser = 'username';
$dbpasswd = 'password';
$table_prefix = 'phpbb_civic';
$phpbb_adm_relative_path = 'adm/';
$acm_type = 'phpbb\\cache\\driver\\file';

@define('PHPBB_INSTALLED', true);
@define('PHPBB_ENVIRONMENT', 'production');
// @define('DEBUG_CONTAINER', true);
MAKE SURE TABLE PREFIX IS CORRECT ! CHECK WITH PHPADMIN