NYCPHP Meetup

NYPHP.org

[nycphp-talk] Session problem with MAC/Unic/Apache

Cliff Hirsch cliff at pinestream.com
Sat Feb 18 14:28:15 EST 2006


The jump from Windows to OSX/Unix is giving me more problems. Now  
sessions aren't working -- more permission issues.

Here's my sessions directory:

It's at /private/var/tmp

My error log has the appropriate permissions. I assume nobody is the  
PHP process.

But what's with the session files? -rw------ isn't very useful is it?
I assume www is the Apache process. How do I make it create readable  
session files?

cliff-hirschs-mac-mini:/var/tmp root# ls -al
total 48
drwxrwxrwt   10 root      wheel   340 Feb 18 13:53 .
drwxr-xr-x   23 root      wheel   782 Feb 16 08:33 ..
-rw-rw-rw-    1 root      wheel    48 Feb 15 23:51  
com.apple.speech.synthesis.globals
drwx------    3 cliffhir  wheel   102 Feb 16 17:45 folders.501
-rw-r--r--    1 nobody    wheel  2877 Feb 18 12:14 kerbeez_errors.log
drwxrwxrwt    4 root      wheel   136 Feb 16 08:34 mds
-rw-------    1 www       wheel    30 Feb 18 10:57 sess_4BAFfxHA........
-rw-------    1 www       wheel    30 Feb 17 16:07  
sess_7A93rjA..........

Cliff



More information about the talk mailing list