|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-04-11 10:37 UTC] alexei dot shulga at gmail dot com
[2011-04-12 05:45 UTC] jacolmode at wp dot pl
[2011-04-17 15:42 UTC] kissifrot at gmail dot com
[2011-04-18 03:02 UTC] kissifrot at gmail dot com
[2011-04-20 18:46 UTC] swestcott at gmail dot com
[2011-04-22 16:58 UTC] swestcott at gmail dot com
[2011-04-23 21:58 UTC] avip at hotmail dot com
[2011-05-31 15:49 UTC] dsmflyer at gmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 12:00:02 2025 UTC |
Description: ------------ Server: Ubuntu 10.10 with RabbitMQ (latest) from RabbitMQ Deb package (apt source) Client: Ubuntu 10.10 (installed with pecl) Consume forces the script to stop with the exit code 1. Reproduce code: --------------- <?php $connection = new AMQPConnection(); // Here goes connection data - host, user, password $connection->connect(); $queue = new AMQPQueue($connection); $queue->declare('testqueue'); $options = array( 'min' => 1, 'max' => 10, 'ack' => true ); $messages = $queue->consume($options); // rest of the code Expected result: ---------------- Script executes till the end. Actual result: -------------- Message: Process finished with exit code 1 Script stops.