Bug #17893: getcwd return value always empty

From: Date: Fri, 21 Jun 2002 09:56:48 +0000
Subject: Bug #17893: getcwd return value always empty
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-11653@lists.php.net to get a copy of this message
From: tom.fischer@ebuz.de Operating system: FreeBSD-4.5 PHP version: 4.2.1 PHP Bug Type: Directory function related Bug description: getcwd return value always empty I upgraded php from 4.0.6 to 4.2.1 and then a customer reported that he have a problem with the getcwd function. The value it returns was always empty. So i downgraded to 4.1.2 and the function works. <?php $curdir = getcwd(); print "Huhu: $curdir"; ?> My configure line: ./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local --with-pgsql=/usr/local --enable-track-vars --with-openssl=/usr/local/ssl --enable-ftp --enable-sysvsem --enable-sysvshm --enable-sockets --with-mm=/usr/compile/apache/mm-1.1.3 --with-imap --with-gd --with-zlib=/usr --with-jpeg=/usr -- Edit bug report at http://bugs.php.net/?id=17893&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17893&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17893&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17893&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17893&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17893&r=support Expected behavior: http://bugs.php.net/fix.php?id=17893&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17893&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17893&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17893&r=globals

« previous php.bugs (#11653) next »