Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 26 additions & 1 deletion CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
-------------------------------------
7.1-2
7.2-2 2025-11-01
-------------------------------------
Disable Page Fusion feature
https://github.com/phpvirtualbox/phpvirtualbox/issues/363

Add VRDP Security Method selection to the Remote Display settings
https://github.com/phpvirtualbox/phpvirtualbox/issues/366

Remove the Console tab with the old Flash and Java RDP and VNC clients
https://github.com/phpvirtualbox/phpvirtualbox/issues/367

Fix NVRAM related issues
https://github.com/phpvirtualbox/phpvirtualbox/issues/364
https://github.com/phpvirtualbox/phpvirtualbox/issues/369

Fix USB Device Filters related issues
https://github.com/phpvirtualbox/phpvirtualbox/issues/371

-------------------------------------
7.2-1 2025-09-01
-------------------------------------
Add Virtualbox 7.2 support
https://github.com/phpvirtualbox/phpvirtualbox/issues/360

-------------------------------------
7.1-2 2025-04-29
-------------------------------------
Fixed https://github.com/phpvirtualbox/phpvirtualbox/issues/350
Clonig VMs causes an error - Vm clonig is unuseable in phpvirtualbox
Expand Down
35 changes: 16 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,37 +1,34 @@
# About

April 2025

Project adopted by Anonie Muss. Updated from https://github.com/studnitskiy/phpvirtualbox where
it had been modified to work with VirtualBox 7.1. Thanks to studnitskiy for his work, and now that
he is a member of the github project, I hope he will continue to contribute.
Web interface for Oracle VirtualBox (https://www.virtualbox.org/)

## Roadmap

- [ ] ~~Use Guacamole instead of Flash RDP client~~ Not possible without some gateway server
- [ ] Ensure feature parity with VirtualBox 7.1 minus Oracle Cloud features
- [ ] Ensure feature parity with VirtualBox 7.2 minus Oracle Cloud features
- [x] PHP 8.4 compatibility
- [x] jQuery and jQuery UI updates
- [ ] Create a release process where javascript and CSS are minified and releses do not contain unnecessary build artifacts
- [ ] UI parity with VirtualBox 7.1 minus Oracle Cloud features

## History
## Project history and credits

October 2025

VirtualBox 7.2 support and various bugfixes.

April 2025

Project adopted by Anonie Muss. Updated from https://github.com/studnitskiy/phpvirtualbox.

October 2024

VirtualBox 7.1 support for x86 hosts only, no ARM hosts support.
I've basically made it stop complaining and allow my existing environment to work.
Minimally tested with PHP 8.2 (PHP-FPM + nginx).

Original text follows

This repository is a continuation of phpVirtualBox, which is no longer supported by the official authors (last commit on thier repository was sent on Jan 27, 2021 - written on Jan 18, 2023).

Right now (from 2022), this software is updated by *[Bartek Sz.](https://github.com/BartekSz95)* and various contributors (see https://github.com/BartekSz95/phpvirtualbox/graphs/contributors).
2022 updated by *[Bartek Sz.](https://github.com/BartekSz95)* and various contributors.

phpVirtualBox was from 2017 to 2021 maintained by Smart Guide Pty Ltd (tudor at smartguide dot com dot au) with support from various contributors.
2017-2021 maintained by Smart Guide Pty Ltd (tudor at smartguide dot com dot au) with support from various contributors.

Originally Copyright © 2010-2015 by Ian Moore (imoore76 at yahoo dot com).
2010-2015 created and maintained by Ian Moore (imoore76 at yahoo dot com).

FREE, WITHOUT WARRANTY:

Expand All @@ -49,11 +46,11 @@ possession.

- Webserver (eg. Apache HTTPD, nginx)

- VirtualBox 7.1.x
- VirtualBox 7.2.x

# Installation from ZIP file

1) Download ZIP file from GitHub project site: https://github.com/phpvirtualbox/phpvirtualbox/archive/master.zip.
1) Download ZIP file from the project site on GitHub - use Code > Download ZIP.
2) Unzip the ZIP file into a folder accessible by your web server.
3) Rename config.php-example to config.php and edit as needed.

Expand Down
10 changes: 0 additions & 10 deletions config.php-example
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@ var $servers = array(
// Disable authentication
#var $noAuth = true;

// Host / ip to use for console connections
#var $consoleHost = '192.168.1.40';

// Disable "preview" box
#var $noPreview = true;

Expand Down Expand Up @@ -160,13 +157,6 @@ var $hostMemInfoRefreshInterval = 5;

/* Disable any of phpVirtualBox's main tabs */
#var $disableTabVMSnapshots = true; // Snapshots tab
#var $disableTabVMConsole = true; // Console tab

/* Screen resolutions for console tab */
var $consoleResolutions = array('640x480','800x600','1024x768','1280x720','1440x900');

/* Console tab keyboard layout. Currently Oracle's RDP client only supports EN and DE. */
var $consoleKeyboardLayout = 'EN';

/* Max number of network cards per VM. Do not set above VirtualBox's limit (typically 8) or below 1 */
var $nicMax = 4;
Expand Down
4 changes: 2 additions & 2 deletions endpoints/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
}

/* Check for PHP version */
if (!version_compare(PHP_VERSION, '5.2.0', '>=')) {
throw new Exception('phpVirtualBox requires PHP >= 5.2.0, but this server is running version '. PHP_VERSION .'. Please upgrade PHP.');
if (!version_compare(PHP_VERSION, '8.1.0', '>=')) {
throw new Exception('phpVirtualBox requires PHP >= 8.1.0, but this server is running version '. PHP_VERSION .'. Please upgrade PHP.');
}

# Only valid function chars
Expand Down
13 changes: 1 addition & 12 deletions endpoints/lib/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/*
* This version of phpVirtualBox
*/
define('PHPVBOX_VER', '7.1-1');
define('PHPVBOX_VER', '7.2-1');

class phpVBoxConfigClass {

Expand Down Expand Up @@ -63,12 +63,6 @@ class phpVBoxConfigClass {
*/
var $browserLocal = false;

/**
* List of console resolutions available on console tab
* @var array
*/
var $consoleResolutions = array('640x480','800x600','1024x768','1280x720','1440x900');

/**
* Maximum number of NICs displayed per VM
* @var integer
Expand Down Expand Up @@ -160,7 +154,6 @@ function __construct() {
foreach(get_object_vars($c) as $k => $v) {
// Safety checks
if($k == 'browserRestrictFiles' && !is_array($v)) continue;
if($k == 'consoleResolutions' && !is_array($v)) continue;
if($k == 'browserRestrictFolders' && !is_array($v)) continue;
$this->$k = $v;
}
Expand Down Expand Up @@ -204,10 +197,6 @@ function __construct() {
// phpvirtualbox installation
$this->setKey();

// legacy rdpHost setting
if(!empty($this->rdpHost) && empty($this->consoleHost))
$this->consoleHost = $this->rdpHost;

// Ensure authlib is set
if(empty($this->authLib)) $this->authLib = 'Builtin';
// include interface
Expand Down
Loading