Bug #10874 Updated: getcwd() always return empty string.
| From: | artem at osp dot ru | Date: | Wed, 16 May 2001 07:46:25 +0000 |
| Subject: | Bug #10874 Updated: getcwd() always return empty string. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-55439@lists.php.net to get a copy of this message | ||
ID: 10874
User Update by: artem@osp.ru
Old-Status: Feedback
Status: Open
Bug Type: Directory function related
Operating system: Linux Redhat7.0
PHP Version: 4.0.5
Description: getcwd() always return empty string.
Ok. I tryed latest snapshot from http://snaps.php.net/
It doesn't have this bug.
I recompiled 4.0.5 - it has bug.
see difference:
http://www2.osp.ru/~artem/t8/t8-dev.html
http://www2.osp.ru/~artem/t8/t8-405.html
Previous Comments:
---------------------------------------------------------------------------
[2001-05-16 00:29:52] sniper@php.net
I can't reproduce this either.
Please try latest snapshot from http://snaps.php.net/
--Jani
---------------------------------------------------------------------------
[2001-05-15 06:26:29] artem@osp.ru
Apache, static module.
see result of this script
<?php
echo "pwd: '".
pwd."'<br>";
echo "getcwd: '".getcwd()."'<br>";
phpinfo();
?>
on http://www2.osp.ru/~artem/t8.php
---------------------------------------------------------------------------
[2001-05-15 05:55:59] derick@php.net
I can't reproduce this too.
What SAPI are you using (Which webserver, and CGI or Module)?
Derick
---------------------------------------------------------------------------
[2001-05-15 05:48:48] swm@php.net
Cannot recreate this on any system with current CVS.
---------------------------------------------------------------------------
[2001-05-15 05:42:36] artem@osp.ru
<?php
echo "'".getcwd()."'";
?>
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the comments,
please view the bug report online.
Full Bug description available at: http://bugs.php.net/?id=10874