Home  >  Article  >  Backend Development  >  After windows configuration is completed, rabbitMQ prompts Class AMQPConnection not found when running.

After windows configuration is completed, rabbitMQ prompts Class AMQPConnection not found when running.

WBOY
WBOYOriginal
2016-09-29 09:33:053574browse

rabbitMQ has been configured in wamp, and using phpinfo() also displays amqp related information.
You can log in using rabbitMQ management background,
So there should be no problem with the configuration of rabbitMQ and wamp.

But when using php server.php from the command line, it prompts

<code>Fatal error: Class 'AMQPConnection' not found 
</code>

So may I have any other questions?

Reply content:

rabbitMQ has been configured in wamp, and using phpinfo() also displays amqp related information.
You can log in using rabbitMQ management background,
So there should be no problem with the configuration of rabbitMQ and wamp.

But when using php server.php from the command line, it prompts

<code>Fatal error: Class 'AMQPConnection' not found 
</code>

So may I have any other questions?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn