Max file size in fopen()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux