Reply to Re: Warning: filemtime() (errno=75 - Value too large for defined data type)

Your name:

Reply:


Posted by Christopher Curtis on 11/26/94 11:17

On 5/29/05, Andrew Brampton <andrew@bramp.freeserve.co.uk> wrote:

> Warning: filemtime(): Stat failed for master.log (errno=75 - Value too large
> for defined data type) in test.php on line 5
>
> when I do the following line of code:
> filemtime ('master.log');

> My code was working fine until the file reached 2GB.

> P.S I'm running PHP 4.3.10-13 on a Debian distro.

I'm afraid you have two options: either shell out to the 'stat'
command line tool, or recompile the PHP package. You can 'apt-get
source php' and manually edit debian/rules to add the
"-D_LARGE_FILE_OFFSET=64" looking argument to configure, then just
'dpkg-buildpackage -uc -us' it (or debian/rules binary).

There is a bug report against PHP pertaining to this, but it breaks
something in one of the other modules that I can't recall off the top
of my head. I'm thinking it's related to Apache PAM, but that may be
something different ...

regards,
Chris

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация