Re: [PHP] Max file size in fopen()

2010-02-19 Thread Ashley Sheridan
On Fri, 2010-02-19 at 17:42 -0200, Darvin Denmian wrote: > 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

[PHP] Max file size in fopen()

2010-02-19 Thread Darvin Denmian
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_BIT