我將start*和event文件都放在了server模塊中,代碼未動(dòng),根目錄的start.php加了
require __DIR__ . '/source/thinkphp/start.php';
這一行,啟動(dòng)時(shí)報(bào)錯(cuò)
如果不加這一行的話(huà)啟動(dòng)運(yùn)行則完全沒(méi)有任何問(wèn)題,請(qǐng)問(wèn)workerman-chat如何接入到tp5里,需要在哪里做修改?
附上start.php代碼截圖:
用think-worker不是很好嗎
https://www.kancloud.cn/thinkphp/think-worker/722897
看手冊(cè)去操作