How to Setup PhpVirtualbox on Mac
Step by step guide on how to install ‘PhpVirtualBox’ to Manage VirtualBox Virtual Machines via Web Browser in MAC
Introduction
phpVirtualBox is a PHP application, so like all PHP applications, it needs to be run under a PHP-capable web server. It manages your VirtualBox installation by communicating with VirtualBox’s API server (vboxwebsrv — distributed with VirtualBox) over a network connection [1] .
Before installing VirtualBox and PhpVirtualBox, you need to updated system package database and install prerequisites such as Apache, PHP and other needed dependencies as shown below.
Install Homebrew
The following script installs Homebrew to its default, supported, best prefix (/usr/local
for macOS Intel, /opt/homebrew
for Apple Silicon [2].
/bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"