FC12 to FC14 : stat failed for the webserver over cifs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello

on a linux box in FC12 or FC14, I set up a web server
I have two virtual host, the first is a filesystem mounted over nfs 
(port 1980)
and the second is a filesystem mounted over cifs (port 1982)

I noticed the filesize php  function  and the stat php function don't 
work on the file of the web server which is mounted over cifs

my php code is quite simple :

<?php
$thefile="./filesize.php" ;
$arrayst= stat( $thefile) ;
print_r( $arrayst ) ;
echo "<p> Size: ".filesize( $thefile)."</p>" ;
?>

when I do host:1982 to access this file, I get:
Warning: stat(): stat failed for ./filesize.php in /dir/filesize.php on 
line 3
and it works for host:1980 (the php file is copied twice)

Getting the error for stat, I tried to use the stat shell command and it 
works for the two files, nfs or cifs

Do you know how I could solve this error ? it worked on FC9.

FC9 :
httpd-2.2.9-1.fc9.i386
php-5.2.6-2.fc9.i386
samba-client-3.2.0-1.pre3.9.fc9.i386

FC14:
php-5.3.3-1.fc14.i686
httpd-2.2.17-1.fc14.i686
cifs-utils-4.7-1.fc14.i686

Jean-Philippe







-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux