PHP save problem! - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18) +---- Forum: PHP The Hypertext Preprocessor (https://www.supportforums.net/forumdisplay.php?fid=21) +---- Thread: PHP save problem! (/showthread.php?tid=2280) |
PHP save problem! - Socrates - 10-28-2009 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? RE: PHP save problem! - uber1337 - 10-28-2009 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. RE: PHP save problem! - Socrates - 10-28-2009 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. RE: PHP save problem! - Spl3en - 10-28-2009 Quote: If I save it to the desktop or file directory I wont be able to run itWhy 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. RE: PHP save problem! - uber1337 - 10-28-2009 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 RE: PHP save problem! - ktmrider530 - 10-28-2009 EDIT: i understand now, i was wrong. |