Thursday, April 17, 2014

Wrong Permission for phpmyadmin

If you install xampp server in linux and it shows :

Wrong permissions on configuration file, should not be world writable!

be calm:
There are three types of users in linux environment, usually we give 777 permission to folders or files which means
111(7) - Owner can read write execute
111(7) - other in the group can read write execute
111(7)  - rest of world can read write execute.
which is wrong permission for xampp
to solve this problem simply change the mode of xampp to 755
"sudo chmod 755 -R /opt/lampp/"
which means:
111(7) - Owner can read write execute
101(5) - other in the group can execute or read, no write
101(5) - rest of world can read and execute, no write.
Then restart the xampp
"sduo /opt/lampp/lampp restart"

No comments:

Post a Comment