[Ilugc] hi sir am kiran

  • From: abhishek.amberkar@xxxxxxxxx (Abhishek Amberkar [अभिषेक])
  • Date: Fri Jan 1 15:42:20 2010

On Thu, Dec 31, 2009 at 1:01 PM, kiran kumar <kiranpulsar2007@xxxxxxxxx> wrote:

greetings from kiran


hi sir am succesffuly installed lamp server in ubuntu again it saying if i
save my php files ...it saying permission denied

how can i overcome this problem .....

can any one tell where to save php files in ubuntu and how to compile and
run


The good option is to keep /var/www/ permissions and ownership intact,
just *don't* mess  with it and to create a new directory inside it,
say

sudo mkdir /var/www/my_site/

then change owership of my_site.

sudo chown $USER:$USER /var/www/my_site/

now store your files in /var/www/my_site/ and access them using
http://localhost/my_site/

Hope That Helps.
-- 
With Regards
Abhishek Amberkar

Learn to appreciate the beauty within...
Sent from India

Other related posts: