#24420 [Fbk->Opn]: getcwd() returns random results in a callback
| From: | S dot Bennett at lancaster dot ac dot uk | Date: | Tue, 19 Aug 2003 12:17:19 +0000 |
| Subject: | #24420 [Fbk->Opn]: getcwd() returns random results in a callback | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-46212@lists.php.net to get a copy of this message | ||
ID: 24420
User updated by: S dot Bennett at lancaster dot ac dot uk
Reported By: S dot Bennett at lancaster dot ac dot uk
-Status: Feedback
+Status: Open
Bug Type: Directory function related
Operating System: Linux
PHP Version: 4.3.3RC5-dev
New Comment:
Yes, I know 2.96 is bogus - it's a RedHat7 box. The problem also occurs
when compiled with GCC3.2.2 on a Solaris system, so I don't really
think it's relevant.
I don't have any vhosts on this install of apache - I normally use
--enable-module=vhost_alias but it's disabled on this install.
httpd.conf contains:
DocumentRoot "/home/www/nutter.spoo.org/htdocs"
If you're unable to reproduce this there must be *something* different
between your system and mine - what are you testing this on?
Previous Comments:
------------------------------------------------------------------------
[2003-08-19 07:09:44] sniper@php.net
Well, there is something fishy going on what you do since I'm still
unable to reproduce this..and btw. The gcc 2.96 is bogus:
http://gcc.gnu.org/gcc-2.96.html
Also, if you were using default configuration of apache, you wouldn't
have any virtualhosts..
------------------------------------------------------------------------
[2003-08-19 06:59:29] S dot Bennett at lancaster dot ac dot uk
This is on a minimal apache/PHP installation that I've set up
specifically to reproduce this problem. Apache is configured as:
./configure --prefix=/usr/local/packages/apache-1.3.27
--enable-module=so
Linux kernel is 2.4.20-ac2
gcc version is 2.96
glibc is 2.2.4
I've successfully reproduced this problem on a Solaris 7 system (gcc
version is 2.96) and on a Solaris 9 system (gcc version is 3.2.2). I
don't see how it can be dependent on compiler version or platform...
------------------------------------------------------------------------
[2003-08-19 06:04:23] sniper@php.net
What other apache modules do you have enabled?
Have you tried this with some default config?
(sidenote: What linux / gcc / glibc versions do you have..?)
------------------------------------------------------------------------
[2003-08-19 05:38:34] S dot Bennett at lancaster dot ac dot uk
This is on a minimal apache/PHP installation that I've set up
specifically to reproduce this problem.
There are no .htaccess files in the path to my test script.
The only PHP-related entries in httpd.conf are:
LoadModule php4_module libexec/libphp4.so
DirectoryIndex index.html index.php
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
------------------------------------------------------------------------
[2003-08-19 05:25:53] sniper@php.net
I didn't ask about your php.ini, I asked about any possible php
settings in your httpd.conf / .htaccess files..
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/24420
--
Edit this bug report at http://bugs.php.net/?id=24420&edit=1