Bug #17893 Updated: getcwd return value always empty

From: Date: Fri, 21 Jun 2002 16:24:09 +0000
Subject: Bug #17893 Updated: getcwd return value always empty
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-11701@lists.php.net to get a copy of this message
ID: 17893 Updated by: sander@php.net Reported By: tom.fischer@ebuz.de -Status: Open +Status: Feedback Bug Type: Directory function related Operating System: FreeBSD-4.5 PHP Version: 4.2.1 New Comment: It works fine for me. Can you try a snapshot from http://snaps.php.net to see if it's fixed? Previous Comments: ------------------------------------------------------------------------ [2002-06-21 05:56:48] tom.fischer@ebuz.de 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 this bug report at http://bugs.php.net/?id=17893&edit=1

« previous php.bugs (#11701) next »