I'm an elementary-os user and I recently installed XAMPP to practice PHP. At first, I had to give read-write permission to /opt/lampp/htdocs/
, in order to create the project files.
But accidentally, I have given read-write permission to /opt/lampp/
instead of /opt/lampp/htdocs/
. I used following command.
$ sudo chmod -R 0777 /opt/lampp/
Now, when I tried to go to phpMyAdmin
in browser it says, Wrong permissions on configuration file, should not be world writable!
I'm guessing, changing the directory's permission to it's default state (read-only) will solve this. I tried googling but couldn't find any working solution. Please help!