更改权限后,Phpmyadmin无法在ubuntu xampp中工作

I'm using xampp 5.6.20. Unfortunately I have changed permission for /opt/lampp to 777 instead of /opt/lampp/htdocs. so it was display some warning like phpmyadmin configuration file is writable.

Then i have changed permission for /opt/lampp to 755. After that i got this error Connection for controluser as defined in your configuration failed. how can i resolve this error.

Try to issue this command:

chmod 0755 config.inc.php

PMA doesn't want the config.inc.php to be world writable, in your case, you made it world writable by chmod 777. If it doesn't work, try to issue the command below:

chmod 755 -R /opt/lampp/phpmyadmin

This will do a recursive chmod on your phpmyadmin folder.

If it still doesn't work, try to remove the phpmyadmin installation and reinstall.

Run This command on ubuntu 14.04

sudo chmod 755 /opt/lampp/phpmyadmin/config.inc.php

Or if not fixed , try this one:

$ pkexec chmod 755 -R /path/phpmyadmin

Refer this linkPhpMyAdmin “Wrong permissions on configuration file, should not be world writable!”

Hope this helps