#35227 [Opn->Fbk]: getcwd does not work
| From: | tony2001@php.net | Date: | Tue, 15 Nov 2005 12:47:45 +0000 |
| Subject: | #35227 [Opn->Fbk]: getcwd does not work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-88204@lists.php.net to get a copy of this message | ||
ID: 35227
Updated by: tony2001@php.net
Reported By: rd at mesos dot de
-Status: Open
+Status: Feedback
Bug Type: Directory function related
Operating System: Linux Fedora Core release 2
PHP Version: 4.4.1
New Comment:
Use var_dump(getcwd());
Previous Comments:
------------------------------------------------------------------------
[2005-11-15 13:38:50] rd at mesos dot de
Description:
------------
getcwd() doesn't return anything.
The same script is working on other servers.
It has been tested as root.
It is also not working via Apache.
All directorys below the test script have chmod 755.
Reproduce code:
---------------
<?
$olddir = getcwd();
echo "olddir: $olddir\n";
?>
Expected result:
----------------
olddir: /usr/src/php-4.4.1
Actual result:
--------------
olddir:
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35227&edit=1