Config.php

Aus DSphpBB

Wechseln zu: Navigation, Suche

Die Datei config.php ist die Datei, in der die Daten für die MySQL Datenbank eingetragen werden. Der Aufbau ist je nach Foren Version etwas verschieden:

Version 1.*.*

<?php

//
// phpBB 2.x auto-generated config file
// Do not change anything in this file!
//

$dbms = "mysql4";

$dbhost = "localhost";
$dbname = "dbnamehere";
$dbuser = "usernamehere";
$dbpasswd = "dbpasswordhere";

$wich_ds_host = '0';

$table_prefix = "phpbb_"; 

define('PHPBB_INSTALLED', true);

?>

Version 2.*

<?php

// phpBB 3.0.x auto-generated configuration file
// Do not change anything in this file!
$dbms = 'mysqli';
$dbhost = 'localhost';
$dbport = '';
$dbname = 'dbnamehere';
$dbuser = 'usernamehere';
$dbpasswd = 'dbpasswordhere';
$table_prefix = 'phpbb_';
$acm_type = 'file';
$load_extensions = '';
//0 => local host   1 => REDIO
$which_ds_host = 0;

@define('PHPBB_INSTALLED', true);
//@define('DEBUG', true);
//@define('DEBUG_EXTRA', true);
?>

Siehe auch

config.php gelöscht! Was tun?

Persönliche Werkzeuge