Bug #17893 Updated: getcwd return value always empty

From: Date: Mon, 24 Jun 2002 10:38:43 +0000
Subject: Bug #17893 Updated: getcwd return value always empty
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-11897@lists.php.net to get a copy of this message
ID: 17893 Updated by: sniper@php.net Reported By: tom.fischer@ebuz.de -Status: Feedback +Status: Closed Bug Type: Directory function related Operating System: FreeBSD-4.5 PHP Version: 4.2.1 New Comment: If getcwd() works -> closed. Previous Comments: ------------------------------------------------------------------------ [2002-06-24 05:27:30] tom.fischer@ebuz.de Okay, i tested php4-STABLE-200206240000 from snaps.php.net, seems that it is fixed. I install it now on the other server. byacc support seems not working in this release so I installed bison Making all in Zend byacc -p zend -v -d ./zend_language_parser.y -o zend_language_parser.c usage: yacc [-dlrtv] [-b file_prefix] [-o output_filename] [-p symbol_prefix] filename *** Error code 1 Stop in /usr/compile/apache/php4-STABLE-200206240000/Zend. *** Error code 1 Stop in /usr/compile/apache/php4-STABLE-200206240000. ------------------------------------------------------------------------ [2002-06-21 12:24:09] sander@php.net It works fine for me. Can you try a snapshot from http://snaps.php.net to see if it's fixed? ------------------------------------------------------------------------ [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 (#11897) next »