From: Peter dot Albertsson at spray dot se
Operating system: SuSE Linux 9
PHP version: 5.0.0RC3
PHP Bug Type: Unknown/Other Function
Bug description: fam_monitor_collection() causes FAM server to issue an "unknown
request..."
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 bug report at http://bugs.php.net/?id=28764&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28764&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28764&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=28764&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=28764&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28764&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=28764&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=28764&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=28764&r=support
Expected behavior: http://bugs.php.net/fix.php?id=28764&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=28764&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=28764&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=28764&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28764&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=28764&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=28764&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=28764&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28764&r=float