Running an EC2 instance, have installed phpMyAdmin and when I create the config.inc.php file (and move it to the top level directory) and then try to navigate via browser to (mydomain)/phpmyadmin and I get this:
"Wrong permissions on configuration file, should not be world writable!"
So, I ran this command:
chmod 755 config.inc.php
And then when I reload the browser page I get the default chrome "Server Error" page as though there is nothing there at all.
I have repeated the process several times, with no luck.
Here's one solution, though it seems like a hack:
http://blog.elijaa.org/index.php?post/2013/02/19/Solve-Wrong-permissions-on-configuration-file%2C-should-not-be-world-writable!-error-on-phpMyAdmin
Same here:
http://www.davinder.in/blog/wrong-permissions-configuration-file-should-not-be-world-writable
And this guy says that '705' is actually the permission set you want:
If chmod 0644 config.inc.php does not help, perhaps due to a file system issue, you can just disable the check by adding the following to the file:
$cfg['CheckConfigurationPermissions'] = false;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With