Jump to content

owstopit

New Members
  • Posts

    5
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

owstopit's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Well, I fixed it! Turns out Apache is running under user "www". What confused me is that I had already given the folder permission for "other" which includes all of the accounts, but hadn't actually applied it to the folder! So, don't make the same mistake I did: if you're changing folder permissions in OSX always press "apply to enclosed items" when you're done! I fixed it by applying permission to every account, then decided I wanted to know which one it was specifically and after trying a few that seemed likely it turned out that 'www' was the right account. So I guess it's useful to know that for users of OS X 10.4.11 (tiger), apache may very well use account 'www'. Thanks so much for the help everyone! -Neal
  2. Hm, well I went to the folder properties and set them to read and write for my account (the main account on Mac OSX) but there are many possible accounts to grant permission to. Maybe I'm granting permissions to the wrong one? I don't have time to right at this moment, but I will post the code, as perhaps there is a problem with my script? Until then, does anyone know what account I need to grant permission to? Here are some of the possible accounts I can grant permission to: -accessibility -admin -amavisd -appowner and many more in alphabetical order. Hmm, just not sure what to do here, I'll post the code later today. Thanks for the help so far, I'm sure we can figure this out! thanks -Neal
  3. Ok, the only problem now is that I'm not doing this on my domain server, I'm just doing it on my local server. How do I connect to my local server (the one setup by apache) in an ftp program? I tried just entering the ip address but that doesn't seem to work. As you can see I am pretty n00bular when it comes to this kind of stuff but even knowing that I can set that file permission with an ftp client is helpful to me! So, how can I connect to my local server through an ftp client?
  4. Ok, I am not sure how to chmod, but I'd like to try it! Can you tell me how to do it?
  5. Hello! First of all I apologize if this has already been answered and I have looked. I am very new to php and while I don't have much trouble with writing php, I am very unfamiliar with servers and how they work. I just started learning php and I've been working out of the friends of ed book PHP Solutions. I have been using Apache on Mac OSX as a test server. Right now I'm working with a simple piece of php that basically just takes what is written into a text field and writes it to a txt file using the fopen_write function. Whenever I run the script I get the [function.fopen]: failed to open stream: Permission denied error. I have read that folder permissions and file permissions can be the cause of this. I tried changing the permissions to read + write for both the file and folder but still nothing. I also read on the php website that sometimes this happens because you need to change the system account in Apache. I do not know how to change the system account, nor do I know how to fix this problem! Please help! Thanks so much for your time. -Neal
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.