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

查看:686
本文介绍了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.

您还需要配置pmadb 以获得phpmyadmin的某些特殊功能,例如书签.

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

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

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