PHP中的ZMQDevice

I'm trying to use $listener with IPC socket with ZMQDevice, but I receive nothing, if I switch to TCP, it works.

    ZMQDevice::__construct ( ZMQSocket $frontend, ZMQSocket $backend, ZMQSocket $listener)

pub.php

    $context = new ZMQContext();

    $frontend = new ZMQSocket($context, ZMQ::SOCKET_XXX);
    $frontend->bind("tcp://...");

    $backend = new ZMQSocket($context, ZMQ::SOCKET_XXX);
    $backend->bind("ipc://backend.ipc");

    $listener = new ZMQSocket($context, ZMQ::SOCKET_PUB);
    $listener->bind("ipc://witness.ipc");

    $device = new ZMQDevice($frontend, $backend, $listener);
    $device->run()

sub.php

    $context = new ZMQContext();

    $receiver = new ZMQSocket($context, ZMQ::SOCKET_SUB);
    $receiver->setSockOpt(ZMQ::SOCKOPT_SUBSCRIBE, '');
    $receiver->connect("ipc://witness.ipc");

Environment:

    libzmq1:amd64   2.2.0+dfsg-5
    zmq for PHP was installed with pecl

Any idea?

Thank you.

Sorry all, I found out why, I forgot that the device was executed in another directory.