Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
6
rated 0 times [  6] [ 0]  / answers: 1 / hits: 12163  / 3 Years ago, sun, september 19, 2021, 2:36:11

I installed LAMPP and it worked fine, but i somehow managed to change the permission of the folder /opt/lampp/ to 777 by using this command



sudo chmod 777 -f /opt/lampp -R




My plans was to do:



sudo chmod 777 -f /opt/lampp/htdocs/ -R


And now when I'm going to localhost/phpmyadmin in the browser i get this error:
enter image description here



Could someone help me to fix this?


More From » permissions

 Answers
5

Try to issue this command:



chmod 0755 config.inc.php



PMA doesn't want the config.inc.php to be world writable, in your case, you made it world writable by chmod 777. If it doesn't work, try to issue the command below:



chmod 755 -R /opt/lampp/phpmyadmin



This will do a recursive chmod on your phpmyadmin folder.



If it still doesn't work, try to remove the phpmyadmin installation and reinstall.


[#28476] Monday, September 20, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
zombieptu

Total Points: 490
Total Questions: 121
Total Answers: 108

Location: Nepal
Member since Mon, Jan 4, 2021
3 Years ago
zombieptu questions
Sat, Feb 18, 23, 20:00, 1 Year ago
Sun, Feb 27, 22, 02:41, 2 Years ago
Sat, Oct 30, 21, 00:00, 3 Years ago
;