Running: macOS High Sierra Version 10.13.3, zsh w/ iTerm2
Trying to set up a local environment with xampp, which has worked just fine for me in the
I was able to resolve this by accessing the config.inc.php file via the terminal provided by xampp.
First things first, the xampp-provided terminal needed nano (to edit the file) installed.
apt-get update
apt-get install nano
I then navigated to the file:
cd ../opt/lampp/phpmyadmin
Then opened the file with nano:
nano config.inc.php
This finally allowed me to edit the config.inc.php file and successfully save.
Great question. I had to work on this for an hour to figure it out too.
Open Xaamp and go to "Open Terminal" on the main page. Make sure the server is running.
You can run "apt-get update" like the other person said above me. The main one you want is "apt-get install nano"
Then do "cd .." so you can back out of the file. The other person said "cd ../opt/... " but that command didn't work for me. What worked was doing "cd .."
Then do cd again, type in "cd opt/lampp/phpmyadmin"
Then type "nano config.inc.php"
You should now be able to edit it. Hit control + o to save it.
It worked for me. It took me an hour to figure it out.