Ubuntu PHP files

  • Kurthead+1
  • Graduate
  • Graduate
  • Kurthead+1
  • Posts: 131

Post 3+ Months Ago

I'm able to change the php files in a text editor, but I think sometimes it will be better access to do it in ubuntu terminal. So I'm using nano index.php to alter the file, but when I try to save it, I get a message saying
[ Error writing index.php: Permission denied ].
Anyone know how to fix this? Or maybe it's not possible to change php files in the terminal? I'm not sure what the problem is.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • demonmaestro
  • Gold Member
  • Gold Member
  • User avatar
  • Posts: 673
  • Loc: Conroe, Texas

Post 3+ Months Ago

do you have physical access to the ubuntu box. are you using ubuntu server or ubuntu desktop edition?
  • Zealous
  • Guru
  • Guru
  • User avatar
  • Posts: 1241
  • Loc: Sydney

Post 3+ Months Ago

chmod 777 index.php

need to change permissions of the file to be able to write
  • Kurthead+1
  • Graduate
  • Graduate
  • Kurthead+1
  • Posts: 131

Post 3+ Months Ago

I'm using Ubuntu Desktop with Apache and Mysql installed. I will try that. I'm still getting the hang of Ubuntu. It's so awesome, but there's a ton to learn.

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 43 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.