tags:

views:

536

answers:

1

Hi

How i can edit php.ini file from cpanel.I am using putty and vi editor to access php.ini file.It showing message -> 'readonly' option is set (add ! to override) .If php.ini is readonly then how i can change its permissions.

Regards
Deepak

A: 

You can change the permissions of a file with chmod. You can only change the permissions if you're the file owner; if you're not the file owner then you must log in as the owner to edit the file or to change its permissions.

Greg Hewgill