I cannot EDIT my php websites...!

Discussions of secure PHP coding. Security in software is important, so don't be afraid to ask. And when answering: be anal. Nitpick. No security vulnerability is too small.

Moderator: General Moderators

Post Reply
kpax1684
Forum Newbie
Posts: 4
Joined: Sat Oct 17, 2009 2:07 pm

I cannot EDIT my php websites...!

Post by kpax1684 »

Hello Guys,

I am new to the environment of php and apache server. I am modifying my php files and accessing the files through network. But when i tried to save my modification it returns "Unable to edit file.php". I already created a permission to the htdocs folder but its always access denied when i try to save the files. Now my question is how can i put a access to the php files.? :cry:
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Re: I cannot EDIT my php websites...!

Post by superdezign »

What are you using to edit?
kpax1684
Forum Newbie
Posts: 4
Joined: Sat Oct 17, 2009 2:07 pm

Re: I cannot EDIT my php websites...!

Post by kpax1684 »

superdezign wrote:What are you using to edit?

Macromedia dreamweaver8..

Do i need to change some settings to php.ini or httpd.conf?
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: I cannot EDIT my php websites...!

Post by jackpf »

What happens when you use notepad or something?
kpax1684
Forum Newbie
Posts: 4
Joined: Sat Oct 17, 2009 2:07 pm

Re: I cannot EDIT my php websites...!

Post by kpax1684 »

Is still the same, "Access denied" and as i check the folder and sub folders of htdocs it is on read only.. And i uncheck the read only. But when i check that folder again the next day, it resume to read only. :?:
Eric!
DevNet Resident
Posts: 1146
Joined: Sun Jun 14, 2009 3:13 pm

Re: I cannot EDIT my php websites...!

Post by Eric! »

How are you accessing these files, via FTP? If you can upload the files there with FTP you should have permission to edit and save them too.
kpax1684
Forum Newbie
Posts: 4
Joined: Sat Oct 17, 2009 2:07 pm

Re: I cannot EDIT my php websites...!

Post by kpax1684 »

YEs! via FTP.., but a have check the folder accessebility and it is in read only, and when i unchecked the read only, after a few minutes it returns to its original state. :(
Eric!
DevNet Resident
Posts: 1146
Joined: Sun Jun 14, 2009 3:13 pm

Re: I cannot EDIT my php websites...!

Post by Eric! »

Sounds like you should talk with your host provider and/or try a different ftp tool too.
dhenick
Forum Newbie
Posts: 19
Joined: Tue Oct 20, 2009 10:46 am
Location: Yogyakarta, Indonesia
Contact:

Re: I cannot EDIT my php websites...!

Post by dhenick »

how about if you edit with editor on cpanel hosting?
Post Reply