ID: 27792 Comment by: mail dot pourri at laposte dot net Reported By: kode at kodekrash dot com Status: Critical Bug Type: Filesystem function related Operating System: * (LFS) PHP Version: 5.*, 6CVS (2009-04-30) New Comment:
Please see fix in http://bugs.php.net/bug.php?id=48886 Previous Comments: ------------------------------------------------------------------------ [2009-04-30 19:45:57] j...@php.net And bug #45040 ------------------------------------------------------------------------ [2009-04-30 19:45:19] j...@php.net See also bug #48099 (NFS mounts misbehave also without the compile flags..) ------------------------------------------------------------------------ [2008-12-05 17:28:36] aklmnop at gmail dot com I had to change a couple more LVAL's to DVAL and RETURN_LONG to RETURN_DOUBLE after using the above patch, to make fseek(), fread(), ftell() and fwrite() work in PHP 5.2.4. This stuff is way too broken. Shamefully broken! ------------------------------------------------------------------------ [2007-10-14 22:17:19] w...@php.net You might like to try the following patch: http://news.php.net/php.internals/32767 ------------------------------------------------------------------------ [2005-10-24 21:16:03] hendersj at mindspring dot com I have seen problems related to this both over NFS and using a local NSS filesystem with Novell Open Enterprise Server (Linux kernel, SLES 9 is where the package orginates). The problem I have seen is more accurately described in bug 33872, which was flagged as a duplicate of this bug. Bug 33872 describes a condition where readdir() returns only the entries "." and ".." (in my case just "." is returned) regardless of the permissions to the directory. The same code run against a reiserFS partition works just fine. I am running php 4.3.4; I have also seen it with PHP 4.2.2 when using an NFS server that has 64-bit cookie values. ------------------------------------------------------------------------ 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/27792 -- Edit this bug report at http://bugs.php.net/?id=27792&edit=1