#38904 [Opn->Ver]: apache2filter changes cwd to /

From: Date: Wed, 20 Sep 2006 16:36:24 +0000
Subject: #38904 [Opn->Ver]: apache2filter changes cwd to /
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-102485@lists.php.net to get a copy of this message
ID: 38904 Updated by: bjori@php.net Reported By: hannes dot magnusson at gmail dot com -Status: Open +Status: Verified Bug Type: Apache2 related Operating System: FreeBSD6.1 PHP Version: 5CVS-2006-09-20 (CVS) Previous Comments: ------------------------------------------------------------------------ [2006-09-20 16:30:47] hannes dot magnusson at gmail dot com Description: ------------ running apache2filter changes cwd to / Caused by the re-implementation see: http://news.php.net/php.cvs/39024 Reproduce code: --------------- var_dump(getcwd(), realpath(".")); Actual result: -------------- string(1) "/" string(1) "/" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38904&edit=1

« previous php.bugs (#102485) next »