#28764 [Opn->Fbk]: fam_monitor_collection() causes FAM server to issue an "unknown request..."
| From: | sniper@php.net | Date: | Sun, 06 Mar 2005 21:10:04 +0000 |
| Subject: | #28764 [Opn->Fbk]: fam_monitor_collection() causes FAM server to issue an "unknown request..." | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-74976@lists.php.net to get a copy of this message | ||
ID: 28764
Updated by: sniper@php.net
Reported By: Peter dot Albertsson at spray dot se
-Status: Open
+Status: Feedback
Bug Type: Unknown/Other Function
Operating System: SuSE Linux 9
PHP Version: 5.0.0RC3
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2005-01-12 19:21:20] 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
------------------------------------------------------------------------
[2004-12-09 14:52:56] mickael dot bailly at free dot fr
Same thing happens on PHP5.0.3RC1 on a redhat 9 with linux 2.6.9
kernel...
------------------------------------------------------------------------
[2004-06-13 19:48:34] 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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28764&edit=1