mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
INSTALL.TXT:
- change tar command to postfixadmin-$version.tar.gz (instead of 2.2) - recommend usage of config.local.php (including a basic example how it looks) git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1680 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
1 parent
0f55fb4351
commit
a933aa1cd8
1 file changed
+16
-2
+16
-2
@@ -39,7 +39,7 @@ DOCUMENTS/ folder.
|
||||
Make sure that you are in your WWW directory and then unarchive the
|
||||
Postfix Admin archive (whatever the filename is):
|
||||
|
||||
$ tar -zxvf postfixadmin-2.2.0.tgz
|
||||
$ tar -zxvf postfixadmin-$version.tgz
|
||||
|
||||
|
||||
2. Setup a Database
|
||||
@@ -69,7 +69,21 @@ For PostgreSQL:
|
||||
3. Configure PostfixAdmin so it can find the database
|
||||
-----------------------------------------------------
|
||||
|
||||
Edit the config.inc.php file - or - create config.local.php and add your settings there.
|
||||
Create a config.local.php file for your local configuration:
|
||||
|
||||
<?php
|
||||
$CONF['database_type'] = 'mysqli';
|
||||
$CONF['database_user'] = 'postfix';
|
||||
$CONF['database_password'] = 'postfixadmin';
|
||||
$CONF['database_name'] = 'postfix';
|
||||
|
||||
$CONF['configured'] = true;
|
||||
?>
|
||||
|
||||
See config.inc.php for all available config options and their default value.
|
||||
|
||||
You can also edit config.inc.php instead of creating a config.local.php,
|
||||
but this will make updates harder and is therefore not recommended.
|
||||
|
||||
The most important settings are those for your database server.
|
||||
|
||||
|
||||
Reference in new issue
Block a user