Results 1 to 7 of 7
  1. #1

    Exclamation Why I can't save php file in my /var/www/ ?


    I have 12.04 verson sa Ubuntu. Pero why I can't install php file in directory /var/www/

  2. #2
    naa na bah nag dagan na existing web service usually apache? or ikaw ra na install sa web server nimo if naa na usually kaay naa na sila lain na directory na ge set ang default sa ubuntu.

    usa man diay ang error message gyud diay bro?

  3. #3
    unsa ang err0r brad? when you mean install diha nga direct0ry nim0 ibutang php mism0 or php (application) you mean
    c0py the .php files t0 that directory.

  4. #4
    try


    sudo chmod 777 /var/www/

  5. #5
    by default /var/www is locked and can only be written with a user with root access... unless you change the write access to the folder...

  6. #6
    changing its file ownership would also do the trick..

    sudo chown -R nobody.nogroup /var/www/

    Afterwards, if human na project, then set it back to its default file ownership.

  7. #7
    by default www folder are set to www-data user

  8.    Advertisement

Similar Threads

 
  1. Why Filipinoes can't save and spend more than they make?
    By lorenzoleo in forum Business, Finance & Economics Discussions
    Replies: 5
    Last Post: 04-18-2013, 03:50 PM
  2. Looking For: Somebody Who Can Back-up my Files in My Hard Drive
    By D-joe in forum Computers & Accessories
    Replies: 13
    Last Post: 04-24-2009, 08:28 AM
  3. can xigmatek dark knight fit in my setup?
    By whoopz in forum Computer Hardware
    Replies: 15
    Last Post: 04-15-2009, 09:27 PM
  4. Replies: 0
    Last Post: 04-06-2008, 04:03 PM
  5. Can\'t delete a file in Windows? Here\'s what to do...
    By vladmire in forum Software & Games (Old)
    Replies: 13
    Last Post: 09-14-2007, 06:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top