<div dir="ltr">You need to make sure your autoload.php setupt correctly for the library. If you use composer.php that's done automatically for you. After that you need to make sure you "use" the namespace.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 17, 2013 at 8:46 PM, Michael Klishin <span dir="ltr"><<a href="mailto:mklishin@gopivotal.com" target="_blank">mklishin@gopivotal.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Amol Kedar:<br>
<div class="im"><br>
> PHP Fatal error: Class 'PhpAmqpLib\Connection\AMQPConnection' not found in /php-amqplib/demo/amqp_consumer.php on line 10<br>
><br>
> this is on ubuntu 10.04 and PHP 5.3.10-1ubuntu3<br>
> any clue?<br>
<br>
</div>If AMQPConnection cannot be found, it suggests you have a classpath<br>
issue. Are you sure that the RabbitMQ client dependency is on classpath?<br>
<br>
Also, I'd start a new thread for your question.<br>
--<br>
MK<br>
<br>
<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>