PHP with POSIX style message queues (mq_open() and friends)

From: Date: Thu, 28 Oct 2010 18:52:05 +0000
Subject: PHP with POSIX style message queues (mq_open() and friends)
Groups: php.general 
Request: Send a blank email to php-general+get-309141@lists.php.net to get a copy of this message
Hello, I need some way to interact with a POSIX message queue from PHP. I am already aware that the PHP library provides for manipulation of Sys V style queues (msg_get_queue(), etc.), but I cannot change the queue. I am hoping to accomplish this capability in a portable way, avoiding external dependencies if possible. So far, these are two solutions I have thought of: * Build a PHP extension which exposes these functions. * Build a set of wrapper binaries that can be called via shell_exec() or shell() For performance reasons, the second is nearly a non-option. Is, then, the first option the only way to go about this? Thank you, Jameson Williams * *

« previous php.general (#309141) next »