0

我在我的 Debian Squeeze 服务器上使用编译和安装的 AMQP 来连接到我的 RabbitMQ 服务器。我正在实例化的类中使用以下命令:

$this->_amqpConnection = new AMQPConnection($arrRmqConfig);
$this->_amqpConnection->connect();

// creating the amqp channel is sufficient to throw the errors
$this->_amqpChannel = new AMQPChannel($this->_amqpConnection);

$this->_amqpExchange = new AMQPExchange($this->_amqpChannel);
$this->_amqpExchange->setName($strExchange);

$this->_amqpExchange->publish($strMessage, 'dco.marker', AMQP_MANDATORY);

我收到 lighttpd 错误消息和 HTTP-500 响应:

2012-09-10 17:43:01: (mod_fastcgi.c.2568) unexpected end-of-file (perhaps the fastcgi process died): pid: 11358 socket: unix:/var/tmp/sockets/php-fastcgi.socket11050-99 
2012-09-10 17:43:01: (mod_fastcgi.c.3356) response not received, request sent: 1002 on socket: unix:/var/tmp/sockets/php-fastcgi.socket11050-99 for /index.php?, closing connection 

发布消息和调试代码正在工作。我想知道为什么程序运行到最后但仍然产生内部服务器错误。

任何人都可以重现这个或有一个想法吗?

谢谢

4

1 回答 1

0

似乎一个较新的版本解决了他的问题

于 2012-12-19T09:40:46.070 回答