Page 1 of 1

Permissions issues

PostPosted: 18. June 2004 07:26
by mrgreen
So far I've been really impressed with XAMPP, great job on building such a useful app!

I just installed it, but I'm a bit of a noob, though, and I am having trouble putting my website files into /opt/lampp/htdocs. I installed XAMPP as root, as per the instructions on this site, but I am not root when I use my linux box, nor do I want to be just to do web development. I suppose if I have to I can, but I'd rather just set it up for regular user accounts to be able to read/write to /opt/lampp.

Can anyone provide any insight into how I might do this? I've played around with the user/groups utility in linux, but it didn't do much. I tried adding my user account to the 'root' group with the hopes of gaining read/write access to /opt/lampp, but to no avail.

Any help is greatly appreciated.

Thanks

PostPosted: 21. June 2004 01:18
by UmneyDurak
in console change to thelampp derictory, change to root by typing su.
Then type chmod 777 htdocs. This allows for user (root), group (root), and everyone else to read write and execute this folder.
Check out this site for more info: http://www.computerhope.com/unix/uchmod.htm

PostPosted: 21. June 2004 07:58
by mrgreen
Thanks Umney

permissions

PostPosted: 13. July 2004 17:40
by valentijn
Even with the very secirity unwise 777 chmods..... I got thes errors
when logged locally on mij webserver :

Warning: file_get_contents(lang.tmp): failed to open stream: Permission denied in /opt/lampp/htdocs/xampp/index.php on line 2

Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/xampp/index.php:2) in /opt/lampp/htdocs/xampp/index.php on line 4

How can I fix this !
seesm that the core apache works because phpmyadmin asks for recondifuration etc... When installed on my Windows machine erverything was ok in one roll... but on linux not......sadly