centos运行workman的时候提升错误Class '\Workerman\Events\Event' not found,求大佬帮忙看一下
thrown in /*/vendor/Workerman/Worker.php on line 2327
Worker[2835] process terminated with ERROR: E_ERROR "Uncaught Error: Class '\Workerman\Events\Event' not found in /*/vendor/Workerman/Worker.php:2327
Stack trace:
#0 /*/vendor/Workerman/Worker.php(1490): Workerman\Worker->run()
#1 /*/vendor/Workerman/Worker.php(1320): Workerman\Worker::forkOneWorkerForLinux(Object(Workerman\Worker))
#2 /*/vendor/Workerman/Worker.php(1294): Workerman\Worker::forkWorkersForLinux()
#3 /*/vendor/Workerman/Worker.php(1624): Workerman\Worker::forkWorkers()
#4 /*/vendor/Workerman/Worker.php(1573): Workerman\Worker::monitorWorkersForLinux()
#5 /*/vendor/Workerman/Worker.php(511): Workerman\Worker::monitorWorkers()
#6 /*/vendor/bin/workermand(64): Workerman\Worker::runAll()
少文件吧,看下对应的文件是不是误删了
找到问题了,我使用了虚拟机,使用的主机文件共享,导致找不到文件。其实文件是有的。这个具体原因就不清楚了