Two data points to report using my localhost testing environment and following the steps in
https://www.phpbb.com/support/docs/en/3 ... date_full/
On a CentOS 8 (Stream) server, with PHP 7. 4.16, the update went smoothly and no issues reported or seen so far during post-update sanity testing.
On a CentOS 7.9 server, with PHP 8.0.3, I'm also getting the following message during the database update process.
Code: Select all
[phpBB Debug] "Constant PHPBB_ENVIRONMENT already defined" in file /var/www/html/forum/config.php on line 15
The config.php file on each server is identical
Code: Select all
<?php
// phpBB 3.3.x auto-generated configuration file
// Do not change anything in this file!
$dbhost = 'localhost';
$dbport = '';
$dbname = 'database';
$dbuser = 'user';
$dbpasswd = password';
$table_prefix = 'phpbb_';
$dbms = 'phpbb\\db\\driver\\mysqli';
$acm_type = 'phpbb\\cache\\driver\\file';
$phpbb_adm_relative_path = 'adm/';
@define('PHPBB_INSTALLED', true);
@define('PHPBB_ENVIRONMENT', 'production');
//@define('DEBUG_CONTAINER', true);
The actual update is working and no issues seen so far during post-update sanity testing.
I've performed the update with PHP 8 twice now, the first time I'd forgotten (because it isn't mentioned in the instructions) to disable extensions before updating and the
Scroll Quoted Text extension was throwing a PHP debug error. Disabling and enabling the extension cleared the error.