Max file size in fopen()
| From: | Darvin Denmian | Date: | Fri, 19 Feb 2010 19:42:07 +0000 |
| Subject: | Max file size in fopen() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-302221@lists.php.net to get a copy of this message | ||
Hello,
I need to open a file with more than 2GB but the following error occurs:
failed to open stream: Value too large for defined data type in
/srv/www/sandboxes/dev02/test.php on line 2
I'm running this php in a 32 bits system.
Googling I found that with the option
"CFLAGS="-D_FILE_OFFSET_BITS=64"" the problem can be solved.
Will I have this issue in a 64 bits System?
Is there some recognized solution for this issue?
Thanks.