|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2010-03-10 21:09 UTC] dctucker at hotmail dot com
  [2010-03-10 21:13 UTC] dctucker at hotmail dot com
  [2010-03-23 19:20 UTC] mail at daniel-berlin dot de
  [2010-03-23 19:23 UTC] mail at daniel-berlin dot de
  [2010-03-24 20:05 UTC] mail at daniel-berlin dot de
  [2010-05-20 12:19 UTC] mike@php.net
 
-Status: Open
+Status: Bogus
  [2010-05-20 12:19 UTC] mike@php.net
  [2010-05-20 21:54 UTC] dctucker at hotmail dot com
  [2010-05-21 11:23 UTC] mike@php.net
 
-Status: Bogus
+Status: Feedback
  [2010-05-21 11:23 UTC] mike@php.net
  [2010-06-03 20:37 UTC] dctucker at hotmail dot com
  [2010-06-04 08:32 UTC] mike@php.net
  [2010-07-30 15:20 UTC] beststom14 at hotmail dot com
  [2011-11-30 20:39 UTC] brandonkirsch at gmail dot com
  [2013-02-18 00:34 UTC] php-bugs at lists dot php dot net
 | |||||||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 16:00:01 2025 UTC | 
Description: ------------ This bug affects filemtime, filesize, and other stat-related functions. When attempting to get file information from a file hosted on a mounted CIFS share (e.g. /mnt/share/Dir/file.wav), it fails. This is specifically a PHP problem because I am able to work around this problem by executing the stat command from a shell or using `back-tick operator`. Test script: --------------- <?php $fm = filemtime('/mnt/share/Dir/file.wav'); echo $fm; ?> Expected result: ---------------- 18293749557 Actual result: -------------- Warning: filemtime(): stat failed for /mnt/share/Dir/file.wav in - on line 3