我是否必须为我的每个文档根目录安装一个新的 phpmyadmin? [英] Do I have to install a new phpmyadmin to each of my Document Root?

查看:37
本文介绍了我是否必须为我的每个文档根目录安装一个新的 phpmyadmin?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我读过官方文档说phpMyAdmin应该安装在Web服务器的文档根目录中.

I've read that the official documentation says that phpMyAdmin should be installed in the web server's document root.

我想问一下我是否必须为我拥有的每个 DocumentRoot 放置一个 phpMyAdmin,或者是否有一个很好的解决方法,比如只使用一个 phpMyAdmin 文件夹?

I want to ask if I have to put one phpMyAdmin for each DocumentRoot I have, or is there a nice workaround to this, like using just one folder of phpMyAdmin?

这似乎是一个愚蠢的问题,但我还没有找到任何关于此的明确阅读.

It seems like a dumb question, but I haven't found any explicit reading about this.

推荐答案

您可以只安装一个文件夹并为每个虚拟主机配置一个别名以指向该文件夹.然而,这取决于每个虚拟主机的用户是否需要访问在 phpMyAdmin 的这个唯一文件夹安​​装中定义的同一组 MySQL 服务器.

You can install just one folder and configure each vhost with an alias to point to this folder. However it depends on whether the users of each vhost need access to the same set of MySQL servers defined in this unique folder installation of phpMyAdmin.

这篇关于我是否必须为我的每个文档根目录安装一个新的 phpmyadmin?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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