运行时出现以下错误 vagrant up
执行“VBoxManage”时出错,这是 Vagrant 用于控制 VirtualBox 的 CLI。命令和标准错误如下所示。
命令:["hostonlyif", "create"]
Stderr: 0%...
Progress state: NS_ERROR_FAILURE
VBoxManage: error: Failed to create the host-only adapter
VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface
VBoxManage: error: Context: "RTEXITCODE handleCreate(HandlerArg *)" at line 95 of file VBoxManageHostonly.cpp
我使用以下命令在我的 mac 机器上升级 php。
brew tap homebrew/homebrew-php
brew unlink php71
brew install php72 --with-argon2
brew install php72-xdebug
Run Code Online (Sandbox Code Playgroud)
PHP 7.2 已成功安装。我已经检查了命令php -v并在我的终端中获取了 PHP 7.1 版本。请帮忙。