From: [EMAIL PROTECTED] Operating system: Linux, glibc 2.2.3 PHP version: 4.1.2 PHP Bug Type: *Directory/Filesystem functions Bug description: getlastmod() returns file access time, not modification time
This is similar to http://bugs.php.net/bug.php?id=14837 which was discarded with a "works in CVS". I'm not so sure it's solved that easily. Example page here: http://www.ekenberg.se/php_getlastmod/getlastmod.php The example shows the output from getlastmod() compared to "ls -l" and "ls -lu". There's also a link to phpinfo(). The bug only appears when using PHP as an Apache module. When running from the commandline the file modification time is shown correctly. -- Edit bug report at http://bugs.php.net/?id=16630&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16630&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16630&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16630&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16630&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16630&r=support Expected behavior: http://bugs.php.net/fix.php?id=16630&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16630&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16630&r=submittedtwice