Question

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

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top