I have tried to uncomment the line in this file to enable php however when i open in nano oe any text editor i connot save i have tried sudo, chmod and nothing works i even tried this type of chmod that was mentioned in a tutorial...
sudo chmod 755 httpd.conf
but still says that i have not the permission to alter the file. has anyone succeded what i am trying to achieve.
this is the error i get when editing it in nano
[error writing httpd.conf: permission denied]
Have you tried simply using sudo nano httpd.conf
rather than trying to chmod it?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.