Class 'React\ZMQ\Context' not found

800 views
Skip to first unread message

Winnie Nakimuli

unread,
Apr 22, 2013, 7:35:21 AM4/22/13
to ratch...@googlegroups.com
i have done everything as according to the push tutorial, but for some reason am still getting the same error for the past two days, i did a PHP binding with zeroMQ and everything is fine. My Composer.json 
{
    "minimum-stability": "dev",
    "autoload": {
        "psr-0": {
            "MyApp": "src"
           
        }
    },
    "require": {
        "cboden/Ratchet": "0.2.*"
      , "react/zmq": "0.1.*"
    }
}
when i run composer.phar install and update all iz ok and nothing to update
and i include the  require dirname(__DIR__) . '/vendor/autoload.php'; line in my push-server.php...i have tried everything don't know what to do next

Winnie Nakimuli

unread,
Apr 25, 2013, 2:47:44 AM4/25/13
to ratch...@googlegroups.com
Finally, i was able to make it work, my problem was i needed a development package for Xampp not the normal package that i had installed for zeroMQ binding. Then i also i had two instances of php running one on my xampp and the other /usr/bin so everytime i run php composer.phar install it was using the php in  /usr/bin which i found out by running which php, so i removed the php in /usr/bin and then created a symbolic link to /opt/lampp/bin/php after doing this, everything else just worked great.

Thank you so much for your continuous help, am still learning but am getting there
Reply all
Reply to author
Forward
0 new messages