Wrong permissions on configuration file of phpmyadmin

if you are running XAMPP on 14.04
this must work

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

Its late but may help someone in future.

If you are using Bitnami LampStack, then you'll find the file config.inc.php in

install-directory/apps/phpmyadmin/htdocs/

So for changing its permission, open a terminal and excecute:

sudo chmod 755 install-directory/apps/phpmyadmin/htdocs/config.inc.php

Then try to reload localhost/phpmyadmin.


As per comments:

xampp is complaining that you changed the config file and made its permissions 777. (world readable and writeable)

Remove it and install the Ubuntu native LAMP stack with:

sudo apt-get install lamp-server

Less hassle, more secure and made to work out of the box.