Unable to Edit config.inc.php

前端 未结 2 503
醉话见心
醉话见心 2021-01-15 03:52

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

2条回答
  •  礼貌的吻别
    2021-01-15 04:19

    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.

提交回复
热议问题