you can see AMQP output on the CLI
define('AMQP_DEBUG', true);
use PhpAmqpLib\Connection\AMQPStreamConnection;
use PhpAmqpLib\Message\AMQPMessage;
$connection = new AMQPStreamConnection(HOST, PORT, USER, PASS, VHOST);```
Most likely, your RabbitMQ server is not reachable, are you sure it's on and sending something?
Обсуждают сегодня