1

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!

2
  • Elementary OS has it's own StackExchange site now.
    – nixpower
    Jun 28, 2016 at 17:23
  • Is this okay? Solutions I find for my problems always relate to ubuntu platform and all most all of them they works fine. That's why I asked this question here.
    – CLOUGH
    Jun 28, 2016 at 17:32

1 Answer 1

1

Relying on my own Google-fu, I was able to find this that describes your issue similarly.

Try the following:

chmod 755 -R /opt/lampp/phpmyadmin

To fix the permissions of phpmyadmin.

3
  • @Rinzwind - why is that?
    – CLOUGH
    Jun 28, 2016 at 17:34
  • @codingman - It worked! :)
    – CLOUGH
    Jun 28, 2016 at 17:43
  • Nice :P. Glad I could help.
    – nixpower
    Jun 29, 2016 at 1:09

Not the answer you're looking for? Browse other questions tagged .