PeaceLoveFamily
PeaceLoveFamily

Reputation: 93

Editing httpd.conf to use apache server on mac

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]

Upvotes: 3

Views: 7507

Answers (1)

Rudi Visser
Rudi Visser

Reputation: 21989

Have you tried simply using sudo nano httpd.conf rather than trying to chmod it?

Upvotes: 8

Related Questions