Merge branch 'QA_5_0'
[phpmyadmin.git] / config.sample.inc.php
blob817d63e6eeadb71e90b08ee7294c00f1fd41faf7
1 <?php
2 /**
3 * phpMyAdmin sample configuration, you can use it as base for
4 * manual configuration. For easier setup you can use setup/
6 * All directives are explained in documentation in the doc/ folder
7 * or at <https://docs.phpmyadmin.net/>.
8 */
9 declare(strict_types=1);
11 /**
12 * This is needed for cookie based authentication to encrypt password in
13 * cookie. Needs to be 32 chars long.
15 $cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
17 /**
18 * Servers configuration
20 $i = 0;
22 /**
23 * First server
25 $i++;
26 /* Authentication type */
27 $cfg['Servers'][$i]['auth_type'] = 'cookie';
28 /* Server parameters */
29 $cfg['Servers'][$i]['host'] = 'localhost';
30 $cfg['Servers'][$i]['compress'] = false;
31 $cfg['Servers'][$i]['AllowNoPassword'] = false;
33 /**
34 * phpMyAdmin configuration storage settings.
37 /* User used to manipulate with storage */
38 // $cfg['Servers'][$i]['controlhost'] = '';
39 // $cfg['Servers'][$i]['controlport'] = '';
40 // $cfg['Servers'][$i]['controluser'] = 'pma';
41 // $cfg['Servers'][$i]['controlpass'] = 'pmapass';
43 /* Storage database and tables */
44 // $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
45 // $cfg['Servers'][$i]['bookmarktable'] = 'pma__bookmark';
46 // $cfg['Servers'][$i]['relation'] = 'pma__relation';
47 // $cfg['Servers'][$i]['table_info'] = 'pma__table_info';
48 // $cfg['Servers'][$i]['table_coords'] = 'pma__table_coords';
49 // $cfg['Servers'][$i]['pdf_pages'] = 'pma__pdf_pages';
50 // $cfg['Servers'][$i]['column_info'] = 'pma__column_info';
51 // $cfg['Servers'][$i]['history'] = 'pma__history';
52 // $cfg['Servers'][$i]['table_uiprefs'] = 'pma__table_uiprefs';
53 // $cfg['Servers'][$i]['tracking'] = 'pma__tracking';
54 // $cfg['Servers'][$i]['userconfig'] = 'pma__userconfig';
55 // $cfg['Servers'][$i]['recent'] = 'pma__recent';
56 // $cfg['Servers'][$i]['favorite'] = 'pma__favorite';
57 // $cfg['Servers'][$i]['users'] = 'pma__users';
58 // $cfg['Servers'][$i]['usergroups'] = 'pma__usergroups';
59 // $cfg['Servers'][$i]['navigationhiding'] = 'pma__navigationhiding';
60 // $cfg['Servers'][$i]['savedsearches'] = 'pma__savedsearches';
61 // $cfg['Servers'][$i]['central_columns'] = 'pma__central_columns';
62 // $cfg['Servers'][$i]['designer_settings'] = 'pma__designer_settings';
63 // $cfg['Servers'][$i]['export_templates'] = 'pma__export_templates';
65 /**
66 * End of servers configuration
69 /**
70 * Directories for saving/loading files from server
72 $cfg['UploadDir'] = '';
73 $cfg['SaveDir'] = '';
75 /**
76 * Whether to display icons or text or both icons and text in table row
77 * action segment. Value can be either of 'icons', 'text' or 'both'.
78 * default = 'both'
80 //$cfg['RowActionType'] = 'icons';
82 /**
83 * Defines whether a user should be displayed a "show all (records)"
84 * button in browse mode or not.
85 * default = false
87 //$cfg['ShowAll'] = true;
89 /**
90 * Number of rows displayed when browsing a result set. If the result
91 * set contains more rows, "Previous" and "Next".
92 * Possible values: 25, 50, 100, 250, 500
93 * default = 25
95 //$cfg['MaxRows'] = 50;
97 /**
98 * Disallow editing of binary fields
99 * valid values are:
100 * false allow editing
101 * 'blob' allow editing except for BLOB fields
102 * 'noblob' disallow editing except for BLOB fields
103 * 'all' disallow editing
104 * default = 'blob'
106 //$cfg['ProtectBinary'] = false;
109 * Default language to use, if not browser-defined or user-defined
110 * (you find all languages in the locale folder)
111 * uncomment the desired line:
112 * default = 'en'
114 //$cfg['DefaultLang'] = 'en';
115 //$cfg['DefaultLang'] = 'de';
118 * How many columns should be used for table display of a database?
119 * (a value larger than 1 results in some information being hidden)
120 * default = 1
122 //$cfg['PropertiesNumColumns'] = 2;
125 * Set to true if you want DB-based query history.If false, this utilizes
126 * JS-routines to display query history (lost by window close)
128 * This requires configuration storage enabled, see above.
129 * default = false
131 //$cfg['QueryHistoryDB'] = true;
134 * When using DB-based query history, how many entries should be kept?
135 * default = 25
137 //$cfg['QueryHistoryMax'] = 100;
140 * Whether or not to query the user before sending the error report to
141 * the phpMyAdmin team when a JavaScript error occurs
143 * Available options
144 * ('ask' | 'always' | 'never')
145 * default = 'ask'
147 //$cfg['SendErrorReports'] = 'always';
150 * You can find more configuration options in the documentation
151 * in the doc/ folder or at <https://docs.phpmyadmin.net/>.