$worker = new Worker(); $worker->onWorkerStart = function ($worker) { //a客户端 $con = new AsyncTcpConnection('ws:/aaa.com'); $con->onConnect = function ($con) { echo '=连接='; $c...
<?php pclose(popen('php workerman.php reload', 'r')); ?>也尝试了 system , shell_exec , exec 命令,都无效,求解,感谢! 直接在shell窗口中运行是ok的。...