Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP save problem!
#1
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?
Reply
#2
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.
[Image: izsyo6.jpg]


Reply
#3
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.
Reply
#4
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.
Reply
#5
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
[Image: izsyo6.jpg]


Reply
#6
EDIT: i understand now, i was wrong.
One day your life will flash before your eyes. Make sure it's worth watching.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  PHP Framework List: An Ultimate Guide to 102 PHP Frameworks for Web Developers tk-hassan 0 777 07-27-2020, 11:26 PM
Last Post: tk-hassan
  PHP Video Tutorials (PHP For Beginners) Eleqtriq 4 3,272 10-10-2011, 01:00 PM
Last Post: Greyersting
  Problem with Invisible space in php + sql Glas 5 1,255 12-31-2010, 05:21 AM
Last Post: Glas

Forum Jump:


Users browsing this thread: 1 Guest(s)