#35186 [Opn]: getcwd() returns "/" when using with mod_rewrite

From: Date: Thu, 10 Nov 2005 23:27:41 +0000
Subject: #35186 [Opn]: getcwd() returns "/" when using with mod_rewrite
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-88017@lists.php.net to get a copy of this message
ID: 35186 Updated by: sniper@php.net Reported By: samm at os2 dot kiev dot ua Status: Open Bug Type: Apache2 related Operating System: FreeBSD 6 PHP Version: 5CVS, 4CVS (2005-11-11) (snap) New Comment: Ah, thank you! This will help us pinpoint the problem very easily now. I'll check what we changed between 4.4.0 / 4.4.1. Previous Comments: ------------------------------------------------------------------------ [2005-11-11 00:09:41] samm at os2 dot kiev dot ua I tried to copy files from directory sapi/apache2handler of the php4.4.0 to the latest 4.4-stable and than i recompiled php. After this all path`s are displayed correctly, so problem is in the apache2handler changes. Tomorrow i`ll try to make more detailt experiments to find a change, which cause a regression. ------------------------------------------------------------------------ [2005-11-10 23:50:40] samm at os2 dot kiev dot ua May be. Anyway 4.4.0 work correctly, so this was broken in 4.4.1. I have no linux around, so currently i cant check this in linux. I found this bug on my 5.4 FreeBSD box, so that is not FreeBSD 6.0 related. I can make some tests if you need. I think that regression was on 4.4.0->4.4.1, may be this can help you. ------------------------------------------------------------------------ [2005-11-10 23:45:36] sniper@php.net This must be some FreeBSD-only issue since this really works fine within Linux. ------------------------------------------------------------------------ [2005-11-10 23:37:20] samm at os2 dot kiev dot ua PHP: ./configure --with-apxs2=/usr/local/sbin/apxs Apache: -D APACHE_MPM_DIR="server/mpm/prefork" ------------------------------------------------------------------------ [2005-11-10 23:28:45] sniper@php.net What was the configure line you used? What MPM is Apache using? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/35186 -- Edit this bug report at http://bugs.php.net/?id=35186&edit=1

« previous php.bugs (#88017) next »