I am using the PHP AMQP extension, as described here:<br><br>� <a href="http://php.net/manual/en/book.amqp.php" target="_blank">http://php.net/manual/en/book.amqp.php</a><br><br>This PHP extension uses the rabbitmq-c library as its underlying implementation.<br>

<br>I would like to set socket timeouts for connection establishment and for each of my enqueues and dequeues. I want to do this in case our server performance degrades, to allow the clients to fail quickly rather than hang.<br>

<br>Does anyone have experience doing this in a PHP environment?� I have tried setting the PHP socket timeout as follows.<br><br>� ini_set(&#39;default_socket_timeout&#39;, 5);<br><br>This appears to have no impact on the PHP extension&#39;s timeout settings. I am still able to enqueue a multi-megabyte MQ message to rabbitmq without losing the socket connection. It takes about 75 seconds to enqueue this message, but the socket is kept open the entire time.<br>

<br>Is there any support either in the PHP AMQP extension or in a different PHP setting that I can use to reduce the timeouts for our interactions with RabbitMQ?� I&#39;d rather not live with a potential problem of hanging client processes if I can avoid it. <br>
<br>Thanks,<br><br>-Keith<br><br>