I found this from php function list manual:
"flock() will not work on NFS and many other networked file systems. Check
your operating system documentation for more details."

I wish flock can do NFS file locking, but offical manual says no to

"Brent Clark" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi there
>
> If i am not mistaken, that is a standard part of the nfs suite.
> All you need to make sure is that your export is correct, and the you are
> not using the
> -nolock option.
> Other than that if its PHP you more interested in, look at the flock()
> function.
>
> Kind Regards
> Brent Clark
>
> -----Original Message-----
> From: kyle [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 05, 2004 6:54 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] file locking over NFS?
>
>
> Hi all,
>
> Is there any simple, safe, and efficiency way to do file locking over NFS?
>
> Thanks.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to