Bug #68688 [Opn->Wfx]: Can't access files larger then 4GiB via built-in web Server
| From: | ab@php.net | Date: | Tue, 30 Dec 2014 11:40:31 +0000 |
| Subject: | Bug #68688 [Opn->Wfx]: Can't access files larger then 4GiB via built-in web Server | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-189515@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=68688&edit=1
ID: 68688
Updated by: ab@php.net
Reported by: sajina_99 at hotmail dot de
Summary: Can't access files larger then 4GiB via built-in web
Server
-Status: Open
+Status: Wont fix
Type: Bug
Package: Built-in web server
Operating System: Windows 7 Pro 64Bit
PHP Version: 5.6.4
Block user comment: N
Private report: N
New Comment:
This won't fix in 5.x, but will work in 7. You might want to check the latest master snaps http://windows.php.net/downloads/snaps/master/
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2014-12-29 21:04:07] sajina_99 at hotmail dot de
Description:
------------
I can't access a file larger then 4GiB via built-in web server. I only get a 404 error with
"Ressource not found". I made a simple .txt file with size of 4GiB - 1 KiB and a simple
.txt file with size of 4GiB. I could access the first file (4GiB - 1 KiB) file without any problem,
but not the 4GiB file.
Test script:
---------------
<?php
$handle1 = fopen("./largefile.txt", "w"); //4GiB File
$handle2 = fopen("./largefile2.txt", "w");//4GiB - 1KiB File
$string = "A";
for($i = 0 ; $i < 10 ; $i++){
$string = $string . $string ;
}//creats an 1 KiB larg string
for($i = 0 ; $i < 4194304 ; $i++){
fwrite($handle1, $string);
if($i > 1)
fwrite($handle2, $string);
}
fclose($handle1);
fclose($handle2);
?>
Expected result:
----------------
Should be able to access both files via built-in server
Actual result:
--------------
can't access largefile.txt via built-in server
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=68688&edit=1