<div dir="ltr">You need to make sure your autoload.php setupt correctly for the library. If you use composer.php that&#39;s done automatically for you. After that you need to make sure you &quot;use&quot; 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">&lt;<a href="mailto:mklishin@gopivotal.com" target="_blank">mklishin@gopivotal.com</a>&gt;</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>
&gt; PHP Fatal error: �Class &#39;PhpAmqpLib\Connection\AMQPConnection&#39; not found in /php-amqplib/demo/amqp_consumer.php on line 10<br>
&gt;<br>
&gt; this is on ubuntu 10.04 and PHP 5.3.10-1ubuntu3<br>
&gt; 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&#39;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>