php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28764 fam_monitor_collection() causes FAM server to issue an "unknown request..."
Submitted: 2004-06-13 19:48 UTC Modified: 2006-07-27 02:15 UTC
Votes:4
Avg. Score:4.5 ± 0.5
Reproduced:4 of 4 (100.0%)
Same Version:1 (25.0%)
Same OS:3 (75.0%)
From: Peter dot Albertsson at spray dot se Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 5.2 HEAD OS: Linux
Private report: No CVE-ID: None
 [2004-06-13 19:48 UTC] Peter dot Albertsson at spray dot se
Description:
------------
I've tried a number of different arguments to fam_monitor_collection(), but they all result in the same error. PHP doesn't raise an error, but FAM does:
fam[2252]: client 7 said unknown request 'F' ('\106').

My setup:
PHP 5.0.0RC3
fam, fam-devel and fam-server 2.6.10-36
apache 2.0.48-128

php.ini changes:
short_open_tag = Off
default_charset = "utf-8"
session.serialize_handler = php_binary
mbstring.language = neutral
mbstring.internal_encoding = UTF-8
mbstring.http_input = UTF-8
mbstring.http_ouput = UTF-8
mbstring.func_overload = 7





Reproduce code:
---------------
<?php
$fam_h = fam_open();
fam_monitor = fam_monitor_collection($fam_h, '/srv/www/htdocs/', 2, '*');
?>

Expected result:
----------------
FAM to start monitoring given directory.

Actual result:
--------------
fam_pending returns TRUE all the time and fam_next_event returns NULL.

Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-12-09 14:52 UTC] mickael dot bailly at free dot fr
Same thing happens on PHP5.0.3RC1 on a redhat 9 with linux 2.6.9 kernel...
 [2005-01-12 19:21 UTC] adam dot hooker at pni dot com
Also happens on PHP 5.0.1 on Redhat Enterprise Server 3 
with Fam 2.6.8-9
 [2005-03-06 22:10 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip


 [2005-03-14 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2005-10-12 20:26 UTC] fusero at gmail dot com
i'm experienciend the same issue with PHP 5.0.5
 [2006-07-24 15:14 UTC] kennyt@php.net
It's still erroring out this way in 5.2 trunk. Is there a maintainer for the extension? I don't see it listed on the PECL website, only in CVS.
 [2006-07-27 02:15 UTC] sniper@php.net
This is wrong place to report bugs in an extension that does not exist in PHP core. (try PECL, if it's not there, contact the PECL people)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Aug 19 08:01:29 2024 UTC