保存我的PHP文件XAMPP时如何删除错误消息? (苹果电脑)

I have been trying to find answers. I'm using text wrangler for mac. When I try to save theres an error. I put my XAMPP on my application folder and I was thinking that it was in the application folder and you can't make any changes. I need to know how to save it. By the way when i move something it keeps asking me to authenticate. Help!

This happened to me before as well. Most likely you need to change the directory permissions. Go to '/Applications/XAMPP/', and change the permissions of the htdocs directory. Here's how.

you just don't have authority save it. if you want to do this, pls give the authority to text wrangler. you can try this in terminal.

sudo open filename -a applicationname.app

for example:

sudo open test.php -a Coda.app

or you can try to change the folder's access permission by using chmod in terminal for example:

chmod 774 foldername