screwed permissions up

Problems with the Linux version of XAMPP, questions, comments, and anything related.

screwed permissions up

Postby joogan » 26. March 2012 13:17

Hi, I hope someone can help?
I had problems saving files and editing. I changed permissions on folders, but now i cannot access the mysql DB through http://localhost. It opens a file in htdocs called index.html? i need to recover the database that i created and uninstall/reinstall from scratch as i i will probably always have permission problems. i changed the htdocs permission to my user and root. ????
sincerely
Jugan
joogan
 
Posts: 2
Joined: 26. March 2012 13:10
Operating System: ubuntu 11.10

Re: screwed permissions up

Postby joogan » 26. March 2012 15:00

when i try to login via http://127.0.0.1/phpmyadmin , i get the following message after i put my user name and password in
"Existing configuration file (./config.inc.php) is not readable." I opened this file in phpmyadmin and can see nothing wrong with it
joogan
 
Posts: 2
Joined: 26. March 2012 13:10
Operating System: ubuntu 11.10

Re: screwed permissions up

Postby JonB » 29. April 2012 13:12

i changed the htdocs permission to my user and root.
Ummm - why???

is not readable.


Probably a permissions issue like you said. you need to see who the owner is of the file, and what permssions are set for it. (use 'ls' in Term to get this info)

Generally speaking, the owner:group of files under htdocs should be nobody:root. 'nobody' is a special user under Linux/Unix, and the bash script and setup of LAMPP are configured to make things work that way.

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 20 guests