.. index:: config.inc.php
.. _config:
Configuration
=============
All configurable data is placed in :file:`config.inc.php` in phpMyAdmin's
toplevel directory. If this file does not exist, please refer to the
:ref:`setup` section to create one. This file only needs to contain the
parameters you want to change from their corresponding default value in
:file:`libraries/config.default.php` (this file is not intended for changes).
.. seealso::
:ref:`config-examples` for examples of configurations
If a directive is missing from your file, you can just add another line with
the file. This file is for over-writing the defaults; if you wish to use the
default value there's no need to add a line here.
The parameters which relate to design (like colors) are placed in
:file:`themes/themename/scss/_variables.scss`. You might also want to create
:file:`config.footer.inc.php` and :file:`config.header.inc.php` files to add
your site specific code to be included on start and end of each page.
.. note::
Some distributions (eg. Debian or Ubuntu) store :file:`config.inc.php` in
``/etc/phpmyadmin`` instead of within phpMyAdmin sources.
Basic settings
--------------
.. config:option:: $cfg['PmaAbsoluteUri']
:type: string
:default: ``''``
.. versionchanged:: 4.6.5
This setting was not available in phpMyAdmin 4.6.0 - 4.6.4.
Sets here the complete :term:`URL` (with full path) to your phpMyAdmin
installation's directory. E.g.
``https://www.example.net/path_to_your_phpMyAdmin_directory/``. Note also
that the :term:`URL` on most of web servers are case sensitive (even on
Windows). Don’t forget the trailing slash at the end.
Starting with version 2.3.0, it is advisable to try leaving this blank. In
most cases phpMyAdmin automatically detects the proper setting. Users of
port forwarding or complex reverse proxy setup might need to set this.
A good test is to browse a table, edit a row and save it. There should be
an error message if phpMyAdmin is having trouble auto–detecting the correct
value. If you get an error that this must be set or if the autodetect code
fails to detect your path, please post a bug report on our bug tracker so
we can improve the code.
.. seealso:: :ref:`faq1_40`, :ref:`faq2_5`, :ref:`faq4_7`, :ref:`faq5_16`
.. config:option:: $cfg['PmaNoRelation_DisableWarning']
:type: boolean
:default: false
Starting with version 2.3.0 phpMyAdmin offers a lot of features to
work with master / foreign – tables (see :config:option:`$cfg['Servers'][$i]['pmadb']`).
If you tried to set this
up and it does not work for you, have a look on the :guilabel:`Structure` page
of one database where you would like to use it. You will find a link
that will analyze why those features have been disabled.
If you do not want to use those features set this variable to ``true`` to
stop this message from appearing.
.. config:option:: $cfg['AuthLog']
:type: string
:default: ``'auto'``
.. versionadded:: 4.8.0
This is supported since phpMyAdmin 4.8.0.
Configure authentication logging destination. Failed (or all, depending on
:config:option:`$cfg['AuthLogSuccess']`) authentication attempts will be
logged according to this directive:
``auto``
Let phpMyAdmin automatically choose between ``syslog`` and ``php``.
``syslog``
Log using syslog, using AUTH facility, on most systems this ends up
in :file:`/var/log/auth.log`.
``php``
Log into PHP error log.
``sapi``
Log into PHP SAPI logging.
``/path/to/file``
Any other value is treated as a filename and log entries are written there.
.. note::
When logging to a file, make sure its permissions are correctly set
for a web server user, the setup should closely match instructions
described in :config:option:`$cfg['TempDir']`:
.. config:option:: $cfg['AuthLogSuccess']
:type: boolean
:default: false
.. versionadded:: 4.8.0
This is supported since phpMyAdmin 4.8.0.
Whether to log successful authentication attempts into
:config:option:`$cfg['AuthLog']`.
.. config:option:: $cfg['SuhosinDisableWarning']
:type: boolean
:default: false
A warning is displayed on the main page if Suhosin is detected.
You can set this parameter to ``true`` to stop this message from appearing.
.. config:option:: $cfg['LoginCookieValidityDisableWarning']
:type: boolean
:default: false
A warning is displayed on the main page if the PHP parameter
session.gc_maxlifetime is lower than cookie validity configured in phpMyAdmin.
You can set this parameter to ``true`` to stop this message from appearing.
.. config:option:: $cfg['ServerLibraryDifference_DisableWarning']
:type: boolean
:default: false
.. deprecated:: 4.7.0
This setting was removed as the warning has been removed as well.
A warning is displayed on the main page if there is a difference
between the MySQL library and server version.
You can set this parameter to ``true`` to stop this message from appearing.
.. config:option:: $cfg['ReservedWordDisableWarning']
:type: boolean
:default: false
This warning is displayed on the Structure page of a table if one or more
column names match with words which are MySQL reserved.
If you want to turn off this warning, you can set it to ``true`` and
warning will no longer be displayed.
.. config:option:: $cfg['TranslationWarningThreshold']
:type: integer
:default: 80
Show warning about incomplete translations on certain threshold.
.. config:option:: $cfg['SendErrorReports']
:type: string
:default: ``'ask'``
Valid values are:
* ``ask``
* ``always``
* ``never``
Sets the default behavior for JavaScript error reporting.
Whenever an error is detected in the JavaScript execution, an error report
may be sent to the phpMyAdmin team if the user agrees.
The default setting of ``'ask'`` will ask the user everytime there is a new
error report. However you can set this parameter to ``'always'`` to send error
reports without asking for confirmation or you can set it to ``'never'`` to
never send error reports.
This directive is available both in the configuration file and in users
preferences. If the person in charge of a multi-user installation prefers
to disable this feature for all users, a value of ``'never'`` should be
set, and the :config:option:`$cfg['UserprefsDisallow']` directive should
contain ``'SendErrorReports'`` in one of its array values.
.. config:option:: $cfg['ConsoleEnterExecutes']
:type: boolean
:default: false
Setting this to ``true`` allows the user to execute queries by pressing Enter
instead of Ctrl+Enter. A new line can be inserted by pressing Shift+Enter.
The behaviour of the console can be temporarily changed using console's
settings interface.
.. config:option:: $cfg['AllowThirdPartyFraming']
:type: boolean|string
:default: false
Setting this to ``true`` allows phpMyAdmin to be included inside a frame,
and is a potential security hole allowing cross-frame scripting attacks or
clickjacking. Setting this to 'sameorigin' prevents phpMyAdmin to be
included from another document in a frame, unless that document belongs
to the same domain.
Server connection settings
--------------------------
.. config:option:: $cfg['Servers']
:type: array
:default: one server array with settings listed below
Since version 1.4.2, phpMyAdmin supports the administration of multiple
MySQL servers. Therefore, a :config:option:`$cfg['Servers']`-array has been
added which contains the login information for the different servers. The
first :config:option:`$cfg['Servers'][$i]['host']` contains the hostname of
没有合适的资源?快使用搜索试试~ 我知道了~
phpMyAdmin 5.2.1 (多语言版)
共4189个文件
php:2228个
png:852个
twig:270个
2 下载量 30 浏览量
2023-08-01
07:33:18
上传
评论
收藏 14.4MB ZIP 举报
温馨提示
这是phpMyAdmin的最新版本5.2.1,支持多种语言,用于管理和操作MySQL数据库。
资源推荐
资源详情
资源评论
收起资源包目录
phpMyAdmin 5.2.1 (多语言版) (4189个子文件)
RELEASE-DATE-5.2.1 29B
ChangeLog 69KB
CHANGELOG 5KB
theme.rtl.css 349KB
theme.css 349KB
blueeyes-theme.rtl.css 347KB
redmond-theme.rtl.css 347KB
theme.rtl.css 347KB
teal-theme.rtl.css 347KB
blueeyes-theme.css 347KB
redmond-theme.css 347KB
theme.css 347KB
teal-theme.css 347KB
mono-theme.rtl.css 347KB
mono-theme.css 347KB
theme.rtl.css 344KB
theme.css 344KB
theme.rtl.css 342KB
theme.css 342KB
styles.css 259KB
jquery-ui.css 36KB
jquery-ui.css 36KB
jquery-ui.css 36KB
jquery-ui.css 36KB
basic.css 13KB
codemirror.css 9KB
ol.css 5KB
pygments.css 5KB
classic.css 4KB
lint.css 3KB
show-hint.css 649B
default.css 28B
ajax_clock_small.gif 2KB
ajax_clock_small.gif 2KB
ajax_clock_small.gif 2KB
ajax_clock_small.gif 2KB
b_globe.gif 1KB
b_globe.gif 1KB
b_globe.gif 1KB
dot.gif 43B
cleardot.gif 43B
dot.gif 43B
config.html 348KB
faq.html 202KB
genindex.html 151KB
setup.html 133KB
credits.html 48KB
glossary.html 33KB
import_export.html 26KB
transformations.html 15KB
index.html 15KB
charts.html 14KB
security.html 11KB
themes.html 11KB
intro.html 11KB
bookmarks.html 10KB
relations.html 10KB
privileges.html 9KB
two_factor.html 9KB
require.html 8KB
user.html 8KB
vendors.html 8KB
other.html 7KB
copyright.html 6KB
settings.html 6KB
developers.html 4KB
search.html 3KB
favicon.ico 22KB
error.ico 5KB
error.ico 5KB
error.ico 5KB
favicon.ico 1KB
favicon.ico 1KB
favicon.ico 1KB
error.ico 1KB
jquery.jqplot.js 461KB
codemirror.js 392KB
OpenLayers.js 318KB
jquery.js 281KB
jquery-ui.min.js 249KB
functions.js 163KB
functions.js 145KB
jquery.tablesorter.js 106KB
makegrid.js 98KB
monitor.js 88KB
jquery.min.js 88KB
searchindex.js 83KB
move.js 80KB
makegrid.js 79KB
bootstrap.bundle.min.js 79KB
jquery-ui-timepicker-addon.js 77KB
zxcvbn-ts.js 75KB
monitor.js 75KB
move.js 71KB
navigation.js 59KB
sql.js 58KB
underscore.js 58KB
console.js 57KB
navigation.js 51KB
additional-methods.js 50KB
共 4189 条
- 1
- 2
- 3
- 4
- 5
- 6
- 42
资源评论
小白的杂货铺
- 粉丝: 252
- 资源: 324
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功