Support Forums

Full Version: PHP save problem!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Can someone help me? Here is the problem. I am trying to save my php files but I don't know where to save them at. Im on ubuntu 9.04 linux and when I try to save my files to var/www I get an error saying permission denied? Any ideas?
Maybe because that is a root directory, you can just use a root terminal and either change the file permissions with "chmod" or move the file manually. Or you can just save it to the desktop or the home folder.
If I save it to the desktop or file directory I wont be able to run it
lol anyone else I don't want to have bump this thread.
Quote: If I save it to the desktop or file directory I wont be able to run it
Why not ? You can configure XAMPP for that.

Quote:I try to save my files to var/www I get an error saying permission denied? Any ideas?
Because ... you haven't the privilegies to write in this folder, it seems to be logical.
Please visit this website http://catcode.com/teachmod/ Read it through and change the permissions of the folder so that you can read, write, etc. If you need any more help with linux just PM me, I had a lot of trouble with it myself when I first started
EDIT: i understand now, i was wrong.