-1
當我運行此rabbitmqserver.php文件時出現錯誤。 我GOOGLE了,我找不到答案。 我已經安裝了所有庫,並且在php5/cli文件中添加了extension = amqp.so。 錯誤讀作:RabbitMQ庫錯誤:
PHP Fatal error: Failed to start request processor: exception 'AMQPConnectionException' with message 'Library error: a socket error occurred - Potential login failure.' in /home/ozzy/git/rabbitmqphp_example/rabbitMQLib.inc:110
堆棧跟蹤:
#0 /home/ozzy/git/rabbitmqphp_example/rabbitMQLib.inc(110): AMQPConnection->connect()
#1 /home/ozzy/git/rabbitmqphp_example/testRabbitMQServer.php(35): rabbitMQServer->process_requests('requestProcesso...')
#2 {main} in /home/ozzy/git/rabbitmqphp_example/rabbitMQLib.inc on line 132