I'm using MAMP to work on my localhost with a SQL database.
When i'm trying to open my 'PhPMyAdmin' (tools->phpMyAdmin) I get this error
Wrong permissions on configuration file, should not be world writable! MAMP
I googled it and I changed the permission of the config.inc.php file but it still doesn't work.
phpMyAdmin folder has wrong permissions. You need to reset this permissions:
sudo chmod -R 755 /Applications/MAMP/bin/phpMyAdmin
If you're using MAMP PRO:
sudo chmod -R 755 /Library/Application\ Support/appsolute/MAMP\ PRO/phpMyAdmin
Find the file in your Finder, then open up your terminal type in sudo chmod 644, (leaving a space at the end); then drag and drop the file from Finder to your terminal and hit enter.
Still no luck? It could be that your config.inc.php has some invalid PHP in it. Try manually going to localhost/phpMyAdmin/config.inc.php and see if you get an error message. You can also try the server logs in MAMP to see if you get any interesting PHP errors from it.
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