Edit report at https://bugs.php.net/bug.php?id=49260&edit=1

 ID:                 49260
 Updated by:         fel...@php.net
 Reported by:        ivan dot barrios at gmail dot com
 Summary:            IPC msg_get_queue fails to retrieve common resource
                     id across scripts
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            Semaphore related
 Operating System:   MacOS v10.5.7
 PHP Version:        5.2.10
 Block user comment: N
 Private report:     N

 New Comment:

Please try using this snapshot:

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

  http://windows.php.net/snapshots/




Previous Comments:
------------------------------------------------------------------------
[2009-08-14 19:51:16] ivan dot barrios at gmail dot com

Description:
------------
Identical PHP scripts function on Ubuntu 9.04 Desktop perfectly. 

Mac OSX configuration:

PHP version: 5.2.10
sysvmsg version: $Revision: 1.20.2.3.2.8 $
sysvmsg package installed as an extension (.so file)

Ubuntu configuration:

PHP version: 5.2.10
sysvmsg version: $Revision: 1.20.2.3.2.7 $
sysvmsg package installed as an extension (.so file)



Reproduce code:
---------------
See http://www.phpfreaks.com/forums/index.php/topic,264945.0.html

for source code: 2 files (msg_client.php, msg_server.php)

Expected result:
----------------
Code should print following text to PHP error log:

<queue_id> says hello.\n
COREPHP\n



Actual result:
--------------
Nothing gets printed because the $serverQueue in the Client script 
(msg_client.php) never gets loaded with the correct queue id for the 
Server.


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=49260&edit=1

Reply via email to