Re: [gentoo-user] PHP and files over 2 Gb

2005-08-23 Thread Jim Hatfield
On Mon, 22 Aug 2005 15:45:23 +0100, in local.gentoo.users you wrote: It appears that PHP as built can't handle files over 2Gb - I get warnings whenever the application peruses a directory with such files in it. I had a look at the USE flags for PHP but didn't see anything obvious. Is there

[gentoo-user] PHP and files over 2 Gb

2005-08-22 Thread Jim Hatfield
I just bought a Pinnacle ShowCenter and am using it with some Apache/PHP/MySQL code to play mpeg movie files to a TV. It appears that PHP as built can't handle files over 2Gb - I get warnings whenever the application peruses a directory with such files in it. I had a look at the USE flags for

Re: [gentoo-user] PHP and files over 2 Gb

2005-08-22 Thread A. Khattri
On Mon, 22 Aug 2005, Jim Hatfield wrote: I just bought a Pinnacle ShowCenter and am using it with some Apache/PHP/MySQL code to play mpeg movie files to a TV. It appears that PHP as built can't handle files over 2Gb - I get warnings whenever the application peruses a directory with such

Re: [gentoo-user] PHP and files over 2 Gb

2005-08-22 Thread Michael Crute
According to the top line of that PHP document you should be able to add `-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64` to your cflags and recompile PHP to make everything work! -Mike On 8/22/05, A. Khattri [EMAIL PROTECTED] wrote: On Mon, 22 Aug 2005, Jim Hatfield wrote: I just bought a Pinnacle

Re: [gentoo-user] PHP and files over 2 Gb

2005-08-22 Thread Jason Stubbs
On Monday 22 August 2005 20:51, Jim Hatfield wrote: I just bought a Pinnacle ShowCenter and am using it with some Apache/PHP/MySQL code to play mpeg movie files to a TV. It appears that PHP as built can't handle files over 2Gb - I get warnings whenever the application peruses a directory with