3.2 sample config file

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The current feature release of phpBB 3 is 3.3/Proteus.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.3.x. If you need support for phpBB 3.3.x please visit the 3.3.x Support Forum on phpbb.com.

If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
Post Reply
Frank Rizzo
Registered User
Posts: 17
Joined: Mon Nov 30, 2015 2:45 pm

3.2 sample config file

Post by Frank Rizzo »

Every time I install the new release I just copy my old config.php back.Can someone check this config.php is valid and optimal for 3.2 RC2?

Code: Select all

<?php
$dbms = 'mysqli';
$dbhost = 'localhost';
$dbport = '';
$dbname = 'xxxx';
$dbuser = 'xxxx';
$dbpasswd = 'xxxx';
$table_prefix = 'xxxx_';
$acm_type = 'file';
$load_extensions = '';
@define('PHPBB_INSTALLED', true);
?>
obviously the xxxx are for obscurity.

This is running on a Centos 7, apache 2.4.23, php 7.1 and mariadb 10-1-19

User avatar
RMcGirr83
Registered User
Posts: 360
Joined: Fri Mar 09, 2007 1:51 am
Contact:

Re: 3.2 sample config file

Post by RMcGirr83 »

It is missing stuff and this isn't a support site.
Do not hire Christian Bullock he won't finish the job and will keep your money

User avatar
MattF
Extension Customisations
Extension Customisations
Posts: 675
Joined: Mon Mar 08, 2010 9:18 am

Re: 3.2 sample config file

Post by MattF »

Why don't you install a new board and compare it with that?
Has an irascible disposition.

Frank Rizzo
Registered User
Posts: 17
Joined: Mon Nov 30, 2015 2:45 pm

Re: 3.2 sample config file

Post by Frank Rizzo »

Hmm, the time you two took to think of and to type out those replies is surely longer than just cutting and pasting your config.php in the first place.

Merry xmas.

User avatar
RMcGirr83
Registered User
Posts: 360
Joined: Fri Mar 09, 2007 1:51 am
Contact:

Re: 3.2 sample config file

Post by RMcGirr83 »

Actually, no. But if you're too lazy to do it yourself here ya go

Code: Select all

<?php
// phpBB 3.2.x auto-generated configuration file
// Do not change anything in this file!
$dbhost = 'localhost';
$dbport = '';
$dbname = 'qi_32';
$dbuser = 'root';
$dbpasswd = '123456';
$table_prefix = 'phpbb_';
$dbms = 'phpbb\db\driver\mysql';
$acm_type = 'phpbb\cache\driver\file';
$phpbb_adm_relative_path = 'adm/';

@define('PHPBB_INSTALLED', true);
@define('DEBUG', true);
@define('PHPBB_ENVIRONMENT', 'production');
//@define('DEBUG_CONTAINER', true);
@define('PHPBB_DISPLAY_LOAD_TIME', true);

Do not hire Christian Bullock he won't finish the job and will keep your money

Frank Rizzo
Registered User
Posts: 17
Joined: Mon Nov 30, 2015 2:45 pm

Re: 3.2 sample config file

Post by Frank Rizzo »

Thank you.

juliokr
Registered User
Posts: 37
Joined: Fri Mar 18, 2016 1:05 pm

Re: 3.2 sample config file

Post by juliokr »

RMcGirr83 wrote: Thu Dec 15, 2016 11:26 am Actually, no. But if you're too lazy to do it yourself here ya go

Code: Select all

<?php
// phpBB 3.2.x auto-generated configuration file
// Do not change anything in this file!

$dbms = 'phpbb\db\driver\mysql';

Are you shure about "driver\mysql" ? "mysql" is deprecated since php7.0 must be "mysqli"

User avatar
MattF
Extension Customisations
Extension Customisations
Posts: 675
Joined: Mon Mar 08, 2010 9:18 am

Re: 3.2 sample config file

Post by MattF »

Our config's may look different than yours for several reasons. Aside from the obvious database credentials, we could end up with different cache types, debug definitions and environments (production, development, etc).

That's why, if you would have installed a vanilla board, you would see what your config file should look like for your environment.

The config file is too important to assume you can just copy paste from anybody else's and be good to go.
Has an irascible disposition.

Frank Rizzo
Registered User
Posts: 17
Joined: Mon Nov 30, 2015 2:45 pm

Re: 3.2 sample config file

Post by Frank Rizzo »

I would not have copied and pasted verbatim from another user - obviously - but it would have been good to compare what was different and to enquire about the differences.

Already resolved in the support forum now anyway. I re-ran the install setting up a fake database name and just copied the 3.2 generated config to the main testing board (which, was a pre 3.1 generated config file).

Post Reply