Women in Technology

Hear us Roar



Article:
  Apache Web-Serving with Mac OS X: Part 3
Subject:   PHPost
Date:   2002-01-18 14:42:43
From:   radionerd
Anyone know what permissions the PHPost files have to be in? I keep getting permission errors when accessing http://myserver.com/phpost.php


Such as:
Warning: unable to create file phpost_temp/3c48a474c3bb55.20162004.cookie because Permission denied in /Library/WebServer/Documents/phpost/phpost.php on line 432


I've made all the phpost files have the exact same owner/group settings as the default index.html file that comes with OS X.


Help?

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • Morbus Iff photo PHPost
    2002-01-20 13:15:25  Morbus Iff | O'Reilly Author [View]

    In this error, PHPost isn't able to write/create to the phphost_temp directory because the permissions are too restrictive. In most cases, directories should be 755 (or 777) - which allows the webserver to writer/create files there. I ran across similar errors when I was testing PHPost.
    • PHPost
      2002-01-21 13:00:09  radionerd [View]

      Yup, that was it. 755 didn't quite cut it, so I used 777. I should have checked that to start with!

      Thanks for the solution! Hopefully your next article is coming out soon.... :)