Here are the altered instructions from one of the instructions to upgrade phpBB from 3.0.x to 3.2.1 by Lumpy Burgertushie.
Prerequisites
- Your server must be running at least PHP 5.4 and less than PHP 7.1
- Your database must be running MariaDB 5.1 or MySQL 3.4 and higher or other supported databases
- All MODs for 3.0.x will be removed.
- Styles for 3.0.x will be removed.
Steps
SET FTP TRANSFER MODE TO BINARY to avoid future problems.
- Backup up your board’s files and database
- Remove all existing modules and modifications by doing the following:
- Overwrite all the modified files with original content (e.g. download original 3.0.x zip file and copy its content to your web), EXCEPT
config.php
- Download the Support Toolkit. Install it and run the database cleaner to remove all old MODs from the database.
- Remove the content of phpbb_mods table
- Remove suspicious content of phpbb_modules table by checking module_basename. Here’s a list of typical modules to be removed:
- tapatalk – acp_mobiquo
- autoMOD – acp_mods
- ABB codes – acp_abbcodes
- RSS feed – acp_rss
- Calendar – acp_calendar
- Remove suspicious content of phpbb_modules table by checking module_langname. Here’s a list of typical modules to be removed:
- tapatalk – ACP_MOBIQUO
- ABB codes – ACP_ABBCODES
- Put the board to “compatibility mode” by doing the following:
- Set default style to prosilver
- Deactivate all styles except for prosilver
- Choose prosilver as the replacement
- Ensure that the activated spambot countermeasure is one of the standard phpBB plugins (Simple image, GD image, GD 3D image, Q&A, reCaptacha).
- Disable memcache if you have it by editing switch acm_type to file in
config.php
- Set British English as the only language pack in General / Board settings
- Upgrade to 3.1 by doing the following:
- Delete all of your phpBB 3.0.x files EXCEPT for the following:
- The
config.php
file
- The
/images/
directory
- The
/files/
directory
- The
/store/
directory
- Upload the contents of phpbb 3.1.11 zip to web folder and overwrite everything EXCEPT
config.php
- Open
yourdomain.com/yourphpbb/install/database_update.php
- Remove
install
directory
- Go to administrator’s page and check all the screens whether there are keys which are not translated. If you find any, remove them from phpbb_modules table by checking agains module_langname column.
- Purge the cache in General screen and refresh the page. You shouldn’t see any deprecated menu items from step above.
- Upgrade to 3.2 by doing the following:
- Upload the contents of phpbb 3.2.x zip to web folder and overwrite everything EXCEPT
config.php
- Update
config.php
entries as follows:
$dbms = ‘phpbb\\db\\driver\\mysqli’;
$phpbb_adm_relative_path = ‘adm/’;
$acm_type = ‘phpbb\\cache\\driver\\file’;
- Browse to
yourdomain.com/yourphpbb/install/
then click the update tab. Click update. then submit for update database only.
- The updater will most likely fail with timeout “The installer detected a timeout”. Login to ACP, which will warn you about unsuccessfull update. Click to retry database update. This time it should finish.
- Delete the folder named
/install/
- There you go 🙂