PhpMyAdmin “Wrong permissions on configuration fil

2020-02-07 16:21发布

I get this error when I try to access localhost/phpmyadmin:

Wrong permissions on configuration file, should not be world writable!

I have already chmoded every file to 555 from 777. What should I do next? I run Ubuntu 11.04.

19条回答
家丑人穷心不美
2楼-- · 2020-02-07 17:14

For Mac OS users:

Find the file named config.inc.php, usually located in /Applications/XAMPP/xamppfiles/phpmyadmin/config.inc.php

(this is the filepath on my Mac)

Then click the right mouse click -> Click on Get Info, at the bottom of the box you will find permissions-> click on the Lock icon (bottom right corner) -> Put your System Admin Password -> -> where it says everyone, modify this permission to READ ONLY -> click back on the Lock icon and try to open http://localhost/phpMyadmin

Hope this helps! ;)

查看更多
登录 后发表回答