[FX.php List] Where are php sess files stored in OS X?

Jonathan Schwartz jschwartz at exit445.com
Sat Mar 20 09:56:07 MDT 2010

There they are! Thanks!

OK. I quick look shows that they are in fact being deleted by Garbage 
Collection in this OS X install..

My original problem is that a Windows system is NOT clearing them, 
and producing this error from time to time:

ps_files_cleanup_dir:opendir(C:\WINDOWS\TEMP) failed: No error (0)

The original phpini had no entry fro the path. I added 
"C:\WINDOWS\Temp" ,but still no GC.

Note...the error doesn;t say "permission denied".

Any clues?



At 4:36 PM +0100 3/20/10, Leo R. Lundgren wrote:
>Check in /var/tmp (which is effectively /private/var/tmp). The files 
>should be named sess_*.
>20 mar 2010 kl. 16.09 skrev Jonathan Schwartz:
>>Hi Folks,
>>In working through continued stability issues with an IIS 
>>installation, where the newest "smoking gun" is the Garbage 
>>Collection system which doesn't appear to work, I decided to go 
>>looking on my OS X systems and see hot it worked there.
>>I can't find the directory for the PHP session files.  Yes, yes...I 
>>know.  I looked at the phpinfo. There is no value for 
>>So where are files stored when there is no value?  I 've wondered 
>>about this ...literally...for years, but have not had the time to 
>>pursue until now.
>>Jonathan Schwartz
>>Exit 445 Group
>>jonathan at exit445.com
>>FX.php_List mailing list
>>FX.php_List at mail.iviking.org
>FX.php_List mailing list
>FX.php_List at mail.iviking.org

Jonathan Schwartz
Exit 445 Group
jonathan at exit445.com

More information about the FX.php_List mailing list