配置文件权限错误,不应该是全局可写的 [英] Wrong permissions on configuration file, should not be world writable
本文介绍了配置文件权限错误,不应该是全局可写的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用 MAMP 在我的本地主机上使用 SQL 数据库工作.
I'm using MAMP to work on my localhost with a SQL database.
当我尝试打开PhPMyAdmin"(工具->phpMyAdmin)时出现此错误
When i'm trying to open my 'PhPMyAdmin' (tools->phpMyAdmin) I get this error
配置文件权限错误,不应该是全局可写的!MAMP
Wrong permissions on configuration file, should not be world writable! MAMP
我在谷歌上搜索并更改了 config.inc.php 文件的权限,但它仍然不起作用.
I googled it and I changed the permission of the config.inc.php file but it still doesn't work.
推荐答案
phpMyAdmin 文件夹权限错误.您需要重置此权限:
phpMyAdmin folder has wrong permissions. You need to reset this permissions:
sudo chmod -R 755 /Applications/MAMP/bin/phpMyAdmin
如果您使用的是 MAMP PRO:
If you're using MAMP PRO:
sudo chmod -R 755 /Library/Application\ Support/appsolute/MAMP\ PRO/phpMyAdmin
这篇关于配置文件权限错误,不应该是全局可写的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文