Page 1 of 1

screwed permissions up

PostPosted: 26. March 2012 13:17
by joogan
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

Re: screwed permissions up

PostPosted: 26. March 2012 15:00
by joogan
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

Re: screwed permissions up

PostPosted: 29. April 2012 13:12
by JonB
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)