The www/phpvirtualbox port

phpvirtualbox-5.2.1 – web-based VirtualBox front-end (source)


phpVirtualBox is an open source, AJAX implementation of the VirtualBox
user interface written in PHP. As a modern web interface, it allows you
to access and control remote VirtualBox instances. Much of its verbage
and some of its code is based on the (inactive) vboxweb project.
phpVirtualBox was designed to allow users to administer VirtualBox in a
headless environment - mirroring the VirtualBox GUI through its web


$OpenBSD: README,v 1.8 2018/09/04 12:46:26 espie Exp $

| Running ${PKGSTEM} on OpenBSD

phpVirtualBox has been installed into:

Configuration is done in:

Default username/password is: admin/admin

VirtualBox configuration on Linux Red Hat(-like) systems

Official documentation is available at:

phpVirtualBox user
Since phpVirtualBox is mostly used in shared environments, it's a good
idea to create a specific UNIX user for it.

# useradd -c "PHP VirtualBox" -U -G vboxusers vbox
# passwd vbox

This user credentials must match the "$username" and "$password" values
set in ${INSTDIR}/config.php.

VirtualBox extension pack
Remote display support using VRDP requires the installation of the
proprietary extension pack from Oracle.

# wget
# VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.3.20-96996.vbox-extpack

VirtualBox web service
By default, the VirtualBox web service will not run and needs to be

# echo "VBOXWEB_HOST=" >>/etc/default/virtualbox
# echo "VBOXWEB_USER=vbox" >>/etc/default/virtualbox
# systemctl start vboxweb-service

VBOXWEB_HOST is the local IP address the service will bind too. It must
match the "$location" value set in ${INSTDIR}/config.php.
VBOXWEB_USER is the VirtualBox user that phpVirtualBox will use. It must
match the "$username" value set in ${INSTDIR}/config.php.

More info is available at:


Antoine Jacoutot


lang/php sysutils www

Run dependencies


File Descr
Path Name
Category Maintainer