Re: [gentoo-user] PHP and files over 2 Gb
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 an easy way to build PHP to have large file >> support? > >http://bugs.gentoo.org/show_bug.cgi?id=24373 That was useful, thanks. It is indeed not enough for PHP to be able to handle large files, Apache has to as well (I think the video files are delivered directly by Apache and not via a script). Looks like I will have to wait for 2.2. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] PHP and files over 2 Gb
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 > such files in it. > > I had a look at the USE flags for PHP but didn't see anything > obvious. Is there an easy way to build PHP to have large file > support? http://bugs.gentoo.org/show_bug.cgi?id=24373 -- Jason Stubbs pgpjzyHmgxJYA.pgp Description: PGP signature
Re: [gentoo-user] PHP and files over 2 Gb
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 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 PHP but didn't see anything> obvious. Is there an easy way to build PHP to have large file > support?http://us3.php.net/manual/en/ref.filesystem.phpDont know how to switch on those flags but maybe a developer can help. gentoo-user@gentoo.org mailing list-- Michael E. CruteSoftware Developer SoftGroup Development CorporationLinux, because reboots are for installing hardware."In a world without walls and fences, who needs windows and gates?"
Re: [gentoo-user] PHP and files over 2 Gb
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 files in it. > > I had a look at the USE flags for PHP but didn't see anything > obvious. Is there an easy way to build PHP to have large file > support? http://us3.php.net/manual/en/ref.filesystem.php Dont know how to switch on those flags but maybe a developer can help. -- -- gentoo-user@gentoo.org mailing list
[gentoo-user] PHP and files over 2 Gb
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 PHP but didn't see anything obvious. Is there an easy way to build PHP to have large file support? -- gentoo-user@gentoo.org mailing list