#21044 [Fbk->Opn]: getcwd() returns empty string (not always)

From: Date: Mon, 16 Dec 2002 14:56:53 +0000
Subject: #21044 [Fbk->Opn]: getcwd() returns empty string (not always)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-27857@lists.php.net to get a copy of this message
ID: 21044 User updated by: miki@ceti.pl Reported By: miki@ceti.pl -Status: Feedback +Status: Open Bug Type: Directory function related Operating System: Linux, 2.2.22 PHP Version: 4.3.0RC3 New Comment: According to phpinfo(): ./configure --with-apxs=/usr/local/apache/bin/apxs --without-pear --with-zlib --with-dom --without-xml --with-expat-dir=/usr/local --with-iconv=/usr/local --with-curl --with-pgsql=/usr/local/pgsql --enable-ftp Full phpinfo() output can be found at: http://www.ma.krakow.pl/~miki/test.php Now that site is running 4.3.0-pre1, but it behaves the same like 4.3.0rc3 I tested it on (with the same configure parameters). Previous Comments: ------------------------------------------------------------------------ [2002-12-16 08:49:30] iliaa@php.net Could you please show the parameters you've passed to PHP's configure script, they can be found inside config.nice. ------------------------------------------------------------------------ [2002-12-16 08:04:36] miki@ceti.pl getcwd() works only within pages in 'main' document root. Pages under user directories (/~user/) and pages located in every virtual host directory doesn't get proper getcwd(). It results in include() and reqiure() using relative paths not working. Bug came out when I was trying to install fresh copy of postnuke. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21044&edit=1

« previous php.bugs (#27857) next »