.. index:: config.inc.php
.. _config:
Configuration
=============
Almost all configurable data is placed in :file:`config.inc.php`. 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`.
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/layout.inc.php`. 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.
.. warning::
:term:`Mac` users should note that if you are on a version before
:term:`Mac OS X`, PHP does not seem to
like :term:`Mac` end of lines character (``\r``). So
ensure you choose the option that allows to use the \*nix end of line
character (``\n``) in your text editor before saving a script you have
modified.
Basic settings
--------------
.. config:option:: $cfg['PmaAbsoluteUri']
:type: string
:default: ``''``
Sets here the complete :term:`URL` (with full path) to your phpMyAdmin
installation's directory. E.g.
``http://www.example.net/path_to_your_phpMyAdmin_directory/``. Note also
that the :term:`URL` on most of web servers are case–sensitive. 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 will need to set :config:option:`$cfg['PmaAbsoluteUri']`
(`more info <https://sourceforge.net/p/phpmyadmin/support-requests/795/>`_).
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`
.. 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['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
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'``
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['AllowThirdPartyFraming']
:type: boolean
: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.
Server connection settings
--------------------------
.. config:option:: $cfg['Servers']
:type: array
:default: one server array with settings listed bellow
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
the first server, the second :config:option:`$cfg['Servers'][$i]['host']`
the hostname of the second server, etc. In
:file:`libraries/config.default.php`, there is only one section for server
definition, however you can put as many as you need in
:file:`config.inc.php`, copy that block or needed parts (you don't have to
define all settings, just those you need to change).
.. note::
The :config:option:`$cfg['Servers']` array starts with
$cfg['Servers'][1]. Do not use $cfg['Servers'][0]. If you want more
than one server, just copy following section (including $i
incrementation) serveral times. There is no need to define full server
array, just define values you need to change.
.. config:option:: $cfg['Servers'][$i]['host']
:type: string
:default: ``'localhost'``
The hostname or :term:`IP` address of your $i-th MySQL-server. E.g.
``localhost``.
Possible values are:
* hostname, e.g., ``'localhost'`` or ``'mydb.example.org'``
* IP address, e.g., ``'127.0.0.1'`` or ``'192.168.10.1'``
* dot - ``'.'``, i.e., use named pipes on windows systems
* empty - ``''``, disables this server
.. note::
phpMyAdmin supports connecting to MySQL servers reachable via IPv6 only.
To connect to an IPv6 MySQL server, enter its IPv6 address in this field.
.. config:option:: $cfg['Servers'][$i]['port']
:type: string
:default: ``''``
The port-number of your $i-th MySQL-server. Default is 3306 (leave
blank).
.. note::
If you use ``localhost`` as the hostname, MySQL ignores this port number
and connects with the socket, so if you want to connect to a port
different from the default port, use ``127.0.0.1`` or the real hostname
in :config:option:`$
没有合适的资源?快使用搜索试试~ 我知道了~
weixin_order-master.zip_Ordering-master_supercms
共2213个文件
php:888个
js:538个
png:510个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 14 浏览量
2022-09-21
21:12:59
上传
评论
收藏 12.41MB ZIP 举报
温馨提示
点餐系统,和单店版是对应关系,增加了多店铺管理及运营功能,每一个店铺都有自己一个独立的管理后台,互不干涉,可以绑定各自域名。已经集成第三方登录组件,包括QQ登录,新浪微博登录,安装组件即可使用这些功能。安装步骤: 1. 将文件上传到您服务器的站点内 2. 输入站点地址,系统会默认进入安装页面 3. 按照提示安装完成,配置相关参数
资源推荐
资源详情
资源评论
收起资源包目录
weixin_order-master.zip_Ordering-master_supercms (2213个子文件)
RELEASE-DATE-4.4.15.6 29B
accesstoken 175B
index.php.bak 223B
make.bat 6KB
yii.bat 515B
yii.bat 515B
.bowerrc 37B
.buildinfo 230B
test.bz2 49B
ChangeLog 20KB
swekey.sample.conf 2KB
musbe-ca.crt 1KB
amazeui.min.css 251KB
amazeui.min.css 251KB
bootstrap.css 128KB
bootstrap.min.css 107KB
jquery-ui-1.11.2.css 34KB
jquery-ui-1.11.2.css 34KB
datepicker3.css 33KB
bootstrap-theme.css 21KB
bootstrap-theme.min.css 18KB
datepicker.css 18KB
styles.css 16KB
style.css 11KB
style.css 11KB
styles.css 11KB
basic.css 8KB
style.css 8KB
fileinput.css 7KB
toastr.min.css 7KB
bootstrap-table.css 4KB
default.css 4KB
pygments.css 4KB
firebug.css 3KB
print.css 1KB
ie6-style.css 165B
google.css 143B
framedCloud.css 0B
db_test_ldi.csv 57B
db_test.csv 57B
DCO 2KB
phpunit.xml.dist 2KB
config.doctree 772KB
faq.doctree 542KB
setup.doctree 158KB
credits.doctree 122KB
glossary.doctree 91KB
transformations.doctree 30KB
intro.doctree 23KB
require.doctree 14KB
privileges.doctree 11KB
copyright.doctree 8KB
vendors.doctree 8KB
index.doctree 6KB
import_export.doctree 5KB
other.doctree 5KB
developers.doctree 4KB
user.doctree 3KB
fontawesome-webfont.eot 59KB
fontawesome-webfont.eot 59KB
acceptance.suite.yml.example 246B
test.file 10B
ajax_clock_small.gif 2KB
ajax_clock_small.gif 2KB
close.gif 1KB
b_globe.gif 1KB
b_globe.gif 1KB
ajax-loader.gif 673B
overview_replacement.gif 79B
dot.gif 43B
cleardot.gif 43B
blank.gif 42B
blank.gif 42B
.gitignore 408B
.gitignore 14B
.gitignore 13B
.gitignore 13B
.gitignore 13B
test.gz 40B
phpunit.xml.hhvm 1KB
.htaccess 304B
config.html 258KB
faq.html 184KB
genindex.html 119KB
setup.html 75KB
glossary.html 31KB
credits.html 23KB
transformations.html 12KB
index.html 12KB
index.html 10KB
intro.html 10KB
privileges.html 8KB
require.html 7KB
copyright.html 6KB
import_export.html 6KB
vendors.html 6KB
user.html 6KB
other.html 5KB
developers.html 5KB
order_show.html 4KB
共 2213 条
- 1
- 2
- 3
- 4
- 5
- 6
- 23
资源评论
周楷雯
- 粉丝: 78
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- SSCMS登录模块需要的JS文件
- JSP网络购物中心毕业设计(源代码+论文).rar
- 白盒测试报告.docx
- 基于LM5117芯片评估开发板硬件参考设计(原理图+PCB)+中英文数据手册资料.zip
- 照片批量重命名软件(文件批量修改图片文件名)
- app.apk
- 人工智能(AI)是计算机科学的一个分支,旨在开发和应用能够模拟、延伸和扩展人类智能的理论、方法和技术,包括机器人、语言识别、图像
- 嵌入式与物联网开发是当今信息技术领域的两大重要分支,它们相互交织,共同推动着智能化时代的进步 嵌入式开发主要关注在嵌入式操作
- 网络安全,这一看似高深莫测的领域,实则与我们每个人的生活息息相关
- 毕业设计基于深度学习的视觉问答系统源码+文档说明+答辩PPT.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功