phpmyadmin 工作正常,但我找不到 config.inc.php 文件? [英] phpmyadmin is working fine but I can't find config.inc.php file?

查看:20
本文介绍了phpmyadmin 工作正常,但我找不到 config.inc.php 文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这很奇怪

我在我的 Windows 7 机器上安装了 phpmyadmin 4.2.5,它目前工作正常并且位于 localhost/phpmyadmin

I have phpmyadmin 4.2.5 installed on my Windows 7 machine, it currently is working fine and located in localhost/phpmyadmin

我可以查看、编辑、创建数据库、表格等

I can view, edit, create databases, tables, etc.

现在我想更改一些设置,所以我在 phpmyadmin 目录中查找了 config.inc.php 文件,但它不在那里?

Now I wanted to change some settings and so I looked for the config.inc.php file in the phpmyadmin directory but it's not there?

我有一个 config.sample.inc.php 但显然它只是一个示例

I have a config.sample.inc.php but obviously it's just a sample

我进行了搜索,唯一的 config.inc.php 文件位于/setup/frames/文件夹中,这显然不是主配置文件.

I did a search and the only config.inc.php file is in the /setup/frames/ folder which is clearly not the main config file.

那么它在哪里?我上个月安装了 phpmyadmin,我想我只是将它复制到我的 htdocs 文件夹中,没什么特别的,但我不记得我做了什么不同的事情.

So where is it? I installed phpmyadmin last month and I think I just copied it to my htdocs folder, nothing special, but I can't remember if I did something different.

推荐答案

config.inc.php 文件不是必需的,只需要自定义配置

The config.inc.php file is not required, and only needed for custom configurations

phpmyadmin 将首先参考 ./libraries/config.default.php 来检索默认值.

phpmyadmin will first refer to ./libraries/config.default.php to retrieve the default values.

如果由于某种原因您需要修改默认值,而 ./config.inc.php 文件不存在,您需要按照 安装 文档.

If for some reason you need to modify the default values, and the ./config.inc.php file doesn't exist, you will need to create one as per the Installation documentation.

您还需要配置 pmadbphpmyadmin 的一些特殊功能,例如书签.

You will also need to configure pmadb for some of phpmyadmin's special features such as bookmarks.

这篇关于phpmyadmin 工作正常,但我找不到 config.inc.php 文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆