gpt4 book ai didi

php - 设置 LAMP 服务器,phpmyadmin 出现问题“无法加载或保存配置”

转载 作者:行者123 更新时间:2023-11-29 22:08:11 25 4
gpt4 key购买 nike

我正在尝试在 Ubuntu 14.04 桌面上设置 LAMP 服务器,但在设置 phpmyadmin 时遇到问题。与此非常相似(未答复)question

phpmyadmin 位于此处:

/usr/share/phpmyadmin

我按照docs中的概述创建了config文件夹。 ,但是当我转到 localhost/phpmyadmin 时出现此错误:

Directory config, which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.

转到 localhost/phpmyadmin/setup/index.php 将会出现以下错误:

Cannot load or save configuration
Please create web server writable folder config in phpMyAdmin top level directory as described in documentation. Otherwise you will be only able to download or display it.

关于为什么我无法加载脚本有什么想法吗?

/etc/phpmyadmin 有:

apache.conf   config.footer.inc.php   htpasswd.setup   phpmyadmin.service 
conf.d config.header.inc.php lighttpd.conf
config-db.php config.inc.php phpmyadmin.desktop

最佳答案

您是否尝试过访问 localhost/phpmyadmin?

另外,尝试在/var/www/html/下创建一个到/usr/share/phpmyadmin 的软链接(soft link)

关于php - 设置 LAMP 服务器,phpmyadmin 出现问题“无法加载或保存配置”,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31956656/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com