PHP Fatal error: Class 'AMQPConnection' not found

前端 未结 1 331
萌比男神i
萌比男神i 2020-12-11 04:14

I\'ve already seen this question. It suggests that AMQP PECL extension is not installed. However, I have successfully installed both RabbitMQ as well as built PECL AMQP exte

1条回答
  •  北海茫月
    2020-12-11 05:06

    The problem is most likely that the CLI installation uses a different php.ini file than the web/Apache module and you need to add the extension to the CLI php.ini file as well. Where exactly that is depends on your platform.

    0 讨论(0)
提交回复
热议问题