Max file size in fopen()

[email protected] (Darvin Denmian)
Newsgroups php.general
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.