#27792 [Com]: Functions fail on large files (filesize,is_file,is_dir)
| From: | sawo at war3z dot org | Date: | Sat, 15 Mar 2008 21:59:17 +0000 |
| Subject: | #27792 [Com]: Functions fail on large files (filesize,is_file,is_dir) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-123341@lists.php.net to get a copy of this message | ||
ID: 27792
Comment by: sawo at war3z dot org
Reported By: kode at kodekrash dot com
Status: Assigned
Bug Type: Filesystem function related
Operating System: * (LFS)
PHP Version: 6CVS, *CVS
Assigned To: wez
New Comment:
Does anybody knows if this is fixed in 6.0 ?
Previous Comments:
------------------------------------------------------------------------
[2008-01-29 14:45:08] elevator at thebrainhotel dot com
All indications are that this is *not* fixed in PHP 5.2.x, the one
comment above notwithstanding. There's another conflicting comment re:
PHP 5.2.x, and there's also a patch provided for PHP 5.3 -- if a patch
is needed for PHP 5.3, it would certainly appear to *not* be fixed in
PHP 5.2.x
And then there's my personal experience with PHP 5.2.4 (from the Xampp
distro for Windows), where I'm actually experiencing the problem when
trying to use move_uploaded_file; likewise on 3 deployments of PHP 5.1.x
I've tried
------------------------------------------------------------------------
[2008-01-18 12:01:27] radon8472 at hotmail dot com
file_get_contents() has also Problems with files over 2 GB Border. Doea
anybody know when there will be released an php version with lage File
Support (4GB an larger) ?
------------------------------------------------------------------------
[2007-10-14 22:17:19] wez@php.net
You might like to try the following patch:
http://news.php.net/php.internals/32767
------------------------------------------------------------------------
[2007-08-17 09:36:22] aames at lycos dot de
Hello,
Using
----------
if($file != '.' && $file != '..' && filetype($folderpath .
'/' . $file)
== 'file' && substr($file,0,1) != '.'){
$fileid = fileid($folderpath,$file);
$files[$file] = array($fileid,'exist');
}
----------
To determine if a given filename is a file.
filetype() results in the already mentioned Errors for a file with 3.5
GB --> even on PHP Version 5.2.1
------------------------------------------------------------------------
[2007-04-11 21:38:48] robertmcol at gmail dot com
Hi,
My OS information is
PHP Version 5.1.6
Apache/2.2.2 (Fedora)
Fedora Core 5 Kernel 2.6.20-1.2307.fc5
Is the issue with large files resolved ?
If not are there any expectations as to when it may get resolved ?
I have been trying to sort a problem displaying large files and dates
and have been getting invalid results.
------------------------------------------------------------------------
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