Fix phpMyAdmin Error: Wrong permissions on configuration file, should not be world writable!

After installing phpMyAdmin for an Ubuntu 14.04 server, I got the following error while browsing to it.

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

From the error message, one can discern that the problem is due to an incorrect file permission of config.inc.php — configuration file.

I tried chmoding the file to 705, 755 etc. but none worked.

To fix the problem, I added the line of code below to config.inc.php file.


$cfg['CheckConfigurationPermissions'] = false;

Gracias.

Don’t miss out!
Subscribe to My Newsletter
Invalid email address