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

From: Date: Sun, 29 May 2005 17:36:06 +0000
Subject: Warning: filemtime() (errno=75 - Value too large for defined data type)
Groups: php.general 
Request: Send a blank email to php-general+get-215964@lists.php.net to get a copy of this message
Hi, I'm receiving the following warning: 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'); The file in question is over 2GB, but I'm not interested in its size, I just want to know the time it was last modified. I presume filemtime is just doing a stat which is failing when it tries to read the size field. Whatever the cause filemtime is returning false and displaying that warning. Does anyone know a work around for this warning (which does not involve shelling out a command line app)? My code was working fine until the file reached 2GB. Thanks Andrew P.S I'm running PHP 4.3.10-13 on a Debian distro.

« previous php.general (#215964) next »