HHVM with Homestead - HHVM refusing NFS

白昼怎懂夜的黑 提交于 2019-12-12 01:07:23

问题


I'm trying to set up Homestead with VirtualBox and the HHVM option. My host is Mac OS, and I'm not enabling the nfs option in Homestead.yaml. However, as soon as I add a Hack file and run hh_client, hh_server dies because it refuses to run on NFS

I understand the rational of not supporting NFS but I'm wondering why is NFS actually involved here, and what could be done to workaround this?


回答1:


VirtualBox shared folders are effectively a network folder, causing the same problems as NFS. This answer, and my comments on it, explain why hh_server (and thus Hack code) doesn't work on NFS -- the kernel doesn't provide the right inotify events to update its internal state.



来源:https://stackoverflow.com/questions/37310109/hhvm-with-homestead-hhvm-refusing-nfs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!