EasySwoole 在win上装虚拟机centos共享目录报错处理

作者: JONE 分类: PHPer 发布时间: 2020-05-14 11:30

原链接:https://www.cnblogs.com/pxjbk/p/11594723.html

[2020-05-14 11:18:27][debug][error]:[EasySwoole\Task\Worker bind /mnt/hgfs/www/test/easyswoole/Temp/EasySwoole.TaskWorker.2.sock fail case No such file or directory at file:/mnt/hgfs/www/test/easyswoole/vendor/easyswoole/component/src/Process/Socket/AbstractUnixProcess.php line:31]
[2020-05-14 11:18:27][debug][error]:[EasySwoole\Task\Worker bind /mnt/hgfs/www/test/easyswoole/Temp/EasySwoole.TaskWorker.1.sock fail case No such file or directory at file:/mnt/hgfs/www/test/easyswoole/vendor/easyswoole/component/src/Process/Socket/AbstractUnixProcess.php line:31]
[2020-05-14 11:18:27][debug][error]:[EasySwoole\Task\Worker bind /mnt/hgfs/www/test/easyswoole/Temp/EasySwoole.TaskWorker.3.sock fail case No such file or directory at file:/mnt/hgfs/www/test/easyswoole/vendor/easyswoole/component/src/Process/Socket/AbstractUnixProcess.php line:31]
[2020-05-14 11:18:27][debug][error]:[EasySwoole\Task\Worker bind /mnt/hgfs/www/test/easyswoole/Temp/EasySwoole.TaskWorker.0.sock fail case No such file or directory at file:/mnt/hgfs/www/test/easyswoole/vendor/easyswoole/component/src/Process/Socket/AbstractUnixProcess.php line:31]
[2020-05-14 11:18:27][debug][error]:[EasySwoole\EasySwoole\Bridge\BridgeProcess bind /mnt/hgfs/www/test/easyswoole/Temp/bridge.sock fail case No such file or directory at file:/mnt/hgfs/www/test/easyswoole/vendor/easyswoole/component/src/Process/Socket/AbstractUnixProcess.php line:31]

这个是unix不能共享目录导致的,开发中不会影响,如果要解决这个报错可以把temp目录换到 “/tmp” 即可