修改位置: require_once __DIR__ . '/../../Workerman/Autoloader.php'; Autoloader::setRootPath(__DIR__); $gateway = new Gateway("Text://0.0.0.0:8282"); $gateway->transport = 'udp'; $gateway->name = 'MyAppGatew...
准备使用curl_init访问外面的接口,在windows下用telnet测试正常,部署到Linux上后,出现报错 Fatal error: Call to undefined function curl_init() in /home/muyy/文档/GatewayWorker/Applications/YourApp/Event.php on line 41 WORKER EXIT UNEXPECTED E_ER...