Bug #53029 [Opn->Bgs]: wrong cwd when destructor calls

From: Date: Fri, 08 Oct 2010 22:16:55 +0000
Subject: Bug #53029 [Opn->Bgs]: wrong cwd when destructor calls
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-155039@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=53029&edit=1 ID: 53029 Updated by: felipe@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

« previous php.bugs (#155039) next »