Skip to main content
ShadesB
Participant
September 9, 2011
Question

can't edit php files in dreamweaver, access to site root denied

  • September 9, 2011
  • 1 reply
  • 1745 views

Can anyone help me please?

I've recently purchased a Macbook Pro after my PCs failed on me and also had to get a Creative Suite Web Premium. I have always used Dreamweaver to edit my php files. In Windows XP, I had to run the programme to run as an Administrator to edit php files. Now I have not a clue how to do it on Mac! Each time I tried to save a php file, a dialog box appear stating: Access to Macintosh

HD:Library:Webserver:Documents:Untitled-1.php was denied

Regards

Sinead

This topic has been closed for replies.

1 reply

Community Expert
September 9, 2011

You shouldn't have to do that on the Mac or Windows.  Only thing I could find that would suggest loading files from there is a tutorial by David.  And although I would normally agree with him, keeping the files in a system library folder for a testing environment is really unnecessary.  I'd recommend moving them into your /Users/{username}/Sites folder.  There is already a modification to the apache server to recognize that as http://localhost/~{username}.  Or install something like MAMP that is in the Applications folder.

ShadesB
ShadesBAuthor
Participant
September 9, 2011

Heya

Thanks a million for that. I have tried everything you have suggested and it is now working. I thought you have to test it in a specific folder and did not realise you could do it outside of that. Now I must try and work out the mysql side and look at David's page for reference.

Thanks again

Sinead