#35186 [Opn->Fbk]: getcwd() returns "/" when using with mod_rewrite
| From: | tony2001@php.net | Date: | Thu, 17 Nov 2005 22:30:46 +0000 |
| Subject: | #35186 [Opn->Fbk]: getcwd() returns "/" when using with mod_rewrite | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-88440@lists.php.net to get a copy of this message | ||
ID: 35186
Updated by: tony2001@php.net
Reported By: samm at os2 dot kiev dot ua
-Status: Open
+Status: Feedback
Bug Type: Apache2 related
Operating System: FreeBSD 6
PHP Version: 5CVS, 4CVS (2005-11-11) (snap)
New Comment:
Download a snap in the morning, the fix didn't get into this snapshot
(Ilia has committed it only 1.5 hours ago).
Previous Comments:
------------------------------------------------------------------------
[2005-11-17 23:19:50] samm at os2 dot kiev dot ua
Tested with php5-200511171930 - nothing changed, bug is still present
:(
------------------------------------------------------------------------
[2005-11-17 22:11:40] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
Hopefully fixed in CVS.
Please test it once again and confirm.
------------------------------------------------------------------------
[2005-11-17 12:47:50] samm at os2 dot kiev dot ua
Just to make you absolutely sure i repeat this tests with latest php5
cvs snapshot (php5-200511170930).
Configure string was "./configure --with-apxs2=/usr/local/sbin/apxs".
$ grep php httpd.conf
LoadModule php5_module
/usr/home/samm/src/php/php5-200511170930/libs/libphp5.so
DirectoryIndex index.php index.html index.html.var
AddType application/x-httpd-php .php .phtml
test.php content:
<?
echo "getcwd() output='".getcwd()."'";
phpinfo();
?>
You can see result of this script, which i uploaded to my server:
test.php output when requested as test.html:
http://www.uba.ua/test/phptest/test.html.out.html
test.php output when requested as test.php:
http://www.uba.ua/test/phptest/test.php.out.html
I hope, this help you and you will not ask me again if i use latest php
;-)
------------------------------------------------------------------------
[2005-11-17 10:59:45] samm at os2 dot kiev dot ua
Yes, i tried with latest PHP too.
See "I check this with php5-200511102130 - the bug is still present.".
------------------------------------------------------------------------
[2005-11-17 09:41:59] sniper@php.net
You're using the PHP 4 snapshot. Did you or did you not try the 5.1
snapshot I asked you?!
------------------------------------------------------------------------
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