Edit report at http://bugs.php.net/bug.php?id=53029&edit=1

 ID:                 53029
 Updated by:         fel...@php.net
 Reported by:        koc-dp at yandex dot ru
 Summary:            wrong cwd when destructor calls
-Status:             Open
+Status:             Bogus
 Type:               Bug
 Package:            Streams related
 Operating System:   Windows 7 x64
 PHP Version:        5.3.3
 Block user comment: N

 New Comment:

Already documented "The working directory in the script shutdown phase
can be different with some SAPIs (e.g. Apache)."



See bug #42626



http://www.php.net/manual/en/language.oop5.decon.php


Previous Comments:
------------------------------------------------------------------------
[2010-10-08 22:54:52] koc-dp at yandex dot ru

Description:
------------
I'm writing my own adapter for sessions and was very surprized when find
this bug. When destructor calls - cwd changes to php install dir.



Code for reproducing this bug located on the github's gist
http://gist.github.com/617503 . PHP runs as GGI (mod_actions).



Test script:
---------------
http://gist.github.com/617503



------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=53029&edit=1

Reply via email to