ID:               50150
 Updated by:       j...@php.net
 Reported By:      balanalin2003 at yahoo dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Streams related
 Operating System: ubuntu 9.10
 PHP Version:      5.3.0
 New Comment:

Most likely OS issue. Not PHP bug -> Bogus.


Previous Comments:
------------------------------------------------------------------------

[2009-11-17 12:28:06] balanalin2003 at yahoo dot com

still getting this error, it may be a problem with my os, or the mount
because i have try it on a fedora 7 and filesize worked, 

wait until you get another report to confirm this, i'm using java until
then.

Thanks

------------------------------------------------------------------------

[2009-11-16 09:49:54] j...@php.net

Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/

And use --disable-phar in your configure line.

------------------------------------------------------------------------

[2009-11-16 06:29:03] balanalin2003 at yahoo dot com

r...@alin-laptop:~# uname -r
2.6.31-14-generic



Launchpad Janitor  wrote on 2009-01-12:           #20

This bug was fixed in the package linux - 2.6.28-4.10



so if i have 2.6.31 and it was fixed in 2.6.28, this shouldn't bee the
problem

thanks for you're response

------------------------------------------------------------------------

[2009-11-12 17:44:53] j...@php.net

Yes, but stat on command line might be different to stat() function.
:)
Please check the kernel version compared to where this bug is fixed.
(and when you give feedback, use the "Edit Submission" link, NOT the
"Add Comment"..)

------------------------------------------------------------------------

[2009-11-11 13:31:39] balanalin2003 at yahoo dot com

well i think is not the same because if i run from the terminal:

stat /mount/Arena2/tickers.txt 

i get:

 stat /mount/Arena2/tickers.txt
  File: `/mount/Arena2/tickers.txt'
  Size: 184118245       Blocks: 359680     IO Block: 16384  regular file
Device: 16h/22d Inode: 23080948090339228  Links: 1
Access: (0755/-rwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/   
root)
Access: 2009-11-11 14:29:25.125000000 +0200
Modify: 2009-11-10 17:26:20.099468800 +0200
Change: 2009-11-10 17:26:20.099468800 +0200

if i have a script like this:

<?php

$fp=fopen("/mount/Arena2/tickers.txt","r");
echo (fgets($fp));
?>

i get first line from that file;
only stat() is the problem

------------------------------------------------------------------------

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/50150

-- 
Edit this bug report at http://bugs.php.net/?id=50150&edit=1

Reply via email to