ID: 28764
Comment by: adam dot hooker at pni dot com
Reported By: Peter dot Albertsson at spray dot se
Status: Open
Bug Type: Unknown/Other Function
Operating System: SuSE Linux 9
PHP Version: 5.0.0RC3
New Comment:
Also happens on PHP 5.0.1 on Redhat Enterprise Server 3
with Fam 2.6.8-9
Previous Comments:
------------------------------------------------------------------------
[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