config.inc.conf 4.6 KB

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