just installed XAMPP on my Mac. When I was trying to modify the upload dir in config.inc.php it says that the file was locked, and can’t be unlocked due to the fact that I don’t have permission to modify the folder. So I changed the my permission to the folder, and file was not locked anymore but I can’t access ‘phpmyadmin’ anymore in my browser via http://localhost/phpmyadmin/, everytime I try, it says "Existing configuration file (./config.inc.php) is not readable."
I googled the solution, from this page, it says to use chown root:cpanelphpmyadmin config.inc.php to change the permission of the file. I did, but it says chown: cpanelphpmyadmin: Invalid argumentin my terminal window. I am get desperate here, anyone help me, please!
by the way, I tried deleting everything in the XAMPP folder in App folder, and create a new one, it doesn’t work
That’s all, it works for me.