PHP AMQP内部服务器错误

时间:2012-09-10 15:59:46

标签: php rabbitmq amqp

我在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 

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

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

感谢

1 个答案:

答案 0 :(得分:0)

似乎是一个较新的版本修复了问题