I got this error when I try to connect using php-amqp: Fatal error: Class 'AMQPConnection' not found in
$credentials =array('host' => 'localhost','port' => 5672); $cnn = new AMQPConnection($credentials); $cnn->connect();
It looks like you did not install the AMQP PECL extension . This PECL extension is not part of PHP by default, so you will need to compile it and install it using the pecl tool.
pecl
Source: https://habr.com/ru/post/901927/More articles:https://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/901922/using-custom-xml-namespaces-to-reference-external-dlls-in-kaxaml&usg=ALkJrhgANyIUjeR_fFhhxzJxmO3acI0HfwHow to write DD-WRT C application? - cPHP Fatal error: Class 'AMQPConnection' not found - phpHTTPClient 4.x Connection reuse does not occur - javajQuery Date Picker does not show the original text value - jqueryHow to get month DateTime in uppercase? - c #How to override default file upload h: message in ICEfaces - jsfTextMate - automatically add a closing HTML tag - textmatePausing code execution in chrome from JS. Possible? - javascriptASP.Net Ajax ComboBox in ModalPopup - ajaxAll Articles