title: Class ZMQContext not found even though ZMQ is installed
body: <p>First of all, yes I am aware that there is a very similar question out there, but the answer given there doesn't apply to my situation, and there's no indication that it fixed the other person's problem either.</p>
  
  <p>I have ZMQ installed on my Apache server, according to the tutorial found in the Racthet documentation. I installed everything successfully after a lot of frustration, and I am ready to run an example. The simple PHP script is placed in <code>post.php</code> and features this line (after some rather trivial PHP, setting variables etc):</p>
  
  <pre><code>$context = new ZMQContext();
  </code></pre>
  
  <p>However, it throws this error:</p>
  
  <pre><code>Fatal error: Class 'ZMQContext' not found in /home/lights/public_html/apps/post.php on line 12
  </code></pre>
  
  <p>I have included <code>extension=zmq.so</code> at the end of my <em>only</em> used php.ini file, as the zeromq documentation suggested. To make sure Apache is loading the same php.ini as the page, I checked. Apache gave me exactly the same info as running phpinfo() on the page:</p>
  
  <pre><code>Configuration File (php.ini) Path   /usr/local/lib
  Loaded Configuration File   /usr/local/lib/php.ini 
  </code></pre>
  
  <p>From this I concluded that the same error should appear if I run <code>php post.php</code> from the terminal. However, no error was shown in this case - it seems the PHP code did its part. So, I have eliminated the only possible root cause that I have found in my search so far, and I am looking for an alternative.</p>
  
  <p>Anyone have a solution, suggestion, idea, anything at all that could help clear this up?</p>