PDA

View Full Version : [ubuntu] Lampp


kurtisnathan
May 2nd, 2009, 08:25 PM
I downloaded, extracted, turned on, and tested XAMPP for Linux, but I can't save any files into this folder, so apart from the index.php, I cannot open or save any .php files. I open the properties for htdocs, but I am unable to change the permissions to save in the folder.

I unlocked the root user, and tried the same thing, but it failed. I tried turning Lampp off, and trying again, and still it failed.

ANY IDEAS?

Kareeser
May 2nd, 2009, 08:36 PM
You need to alter permissions to allow you to edit files. That could be as simple as changing ownership of /var/www/ to your account.

Please be advised that xampp might use a different file structure (as in, it might have installed itself to /opt). Doublecheck.

Dr Small
May 2nd, 2009, 08:40 PM
Yes, XAMPP is installed to /opt/lampp/

So, to the OP, you need to set the permissions on /opt/lampp/htdocs to 666 (rw-rw-rw):
sudo chmod -R 666 /opt/lampp/htdocs

kurtisnathan
May 2nd, 2009, 08:56 PM
Dr Small, I did what you did, to no avail. Kareeser, I don't know how to do whot you are suggesting.

Dr.Vista
May 2nd, 2009, 08:58 PM
Dr Small, I did what you did, to no avail. Kareeser, I don't know how to do whot you are suggesting.
Just paste that code in the terminal and hit enter.

Edit: I didn't read your whole sentence. Disregard what I said. ;)

kurtisnathan
May 2nd, 2009, 09:50 PM
Nobody can help?

daboroe
May 2nd, 2009, 09:58 PM
if you are using xampp for live sites that is a big no no. just install everhything manually. it is very easy to set up. that is what i did.q