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.
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.
If you are using ubutu and you have the path like this /opt/lampp then type the following command in terminal.
Hope this will find out your solution.
all you need is to
open terminal type
opt/lampp/lampp start
to start it and then
sudo chmod 755 /opt/lampp/phpmyadmin/config.inc.php
then visit in your browser
it will work fine.
For Mac sudo chmod 755 /Applications/XAMPP/xamppfiles/phpmyadmin/config.inc.php Worked for me
try
sudo chmod 755 /opt/lampp/phpmyadmin/config.inc.php
this command fixed the issue having on my ubuntu 14.04.
This is because of wrong permission of
phpMyAdmin
directory and the fileconfig.inc.php
On *nix like OS set the permission of the directory and the file as follows
If like me you run a Linux Virtual Machine which mount a Windows folder where
phpMyAdmin
sources are located, editconfig.inc.php
and add this lineYou should not be making them
777
(which is writeable by everyone). Try644
instead, which means user has read and write and group and others can only read.