<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Home</title><link>https://sourceforge.net/p/phpvirtualbox/wiki/Home/</link><description>Recent changes to Home</description><atom:link href="https://sourceforge.net/p/phpvirtualbox/wiki/Home/feed" rel="self"/><language>en</language><lastBuildDate>Fri, 03 Dec 2021 16:09:51 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/phpvirtualbox/wiki/Home/feed" rel="self" type="application/rss+xml"/><item><title>Discussion for Home page</title><link>https://sourceforge.net/p/phpvirtualbox/wiki/Home/?limit=25#fff4</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;it is made in php so :)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rain_storm_2</dc:creator><pubDate>Fri, 03 Dec 2021 16:09:51 -0000</pubDate><guid>https://sourceforge.netdbc7c52e2b656af288baf2951a537d608525f1e1</guid></item><item><title>Home modified by Ian Moore</title><link>https://sourceforge.net/p/phpvirtualbox/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -84,7 +84,7 @@

 Assuming your VirtualBox installation is run by the user *vbox* and vboxwebsrv is located in /opt/VirtualBox, you may start vboxwebsrv by running the following command as *vbox*:

-     /opt/VirtualBox/vboxwebsrv -b --logfile /dev/null &amp;gt;/dev/null
+     /opt/VirtualBox/vboxwebsrv -H 127.0.0.1 -b --logfile /dev/null &amp;gt;/dev/null

 Solaris users will also have to follow the same instructions outlined in the VirtualBox OSE section above, or vboxwebsrv will fail to authenticate.

@@ -92,7 +92,7 @@

 On Windows (assuming your VirtualBox installation is located in C:\Program Files\Oracle\VirtualBox), the following command will start vboxwebsrv:

-       "%ProgramFiles%\Oracle\VirtualBox\vboxwebsrv.exe" &amp;gt;nul
+       "%ProgramFiles%\Oracle\VirtualBox\vboxwebsrv.exe" -H 127.0.0.1 &amp;gt;nul

 Note that *&amp;gt;nul* is needed so that vboxwebsrv does not send its output to the command prompt window. Without it, performance will be severely degraded.

@@ -104,7 +104,7 @@

       cd /Applications/VirtualBox.app/Contents/MacOS

-      ./vboxwebsrv &amp;gt;/dev/null
+      ./vboxwebsrv -H 127.0.0.1 &amp;gt;/dev/null

 Running /usr/bin/vboxwebsrv or not running the command from within /Applications/VirtualBox.app/Contents/MacOS seems to crash vboxwebsrv

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ian Moore</dc:creator><pubDate>Thu, 11 Dec 2014 14:28:14 -0000</pubDate><guid>https://sourceforge.netc98bc0d8fa3927b79abc3992881766c8b0013080</guid></item><item><title>Home modified by Ian Moore</title><link>https://sourceforge.net/p/phpvirtualbox/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -60,7 +60,7 @@

   -H IP.ADDRESS.OF.HOST

-to the command line of vboxwebsrv. Where IP.ADDRESS.OF.HOST is the IP address of your VirtualBox host, accessible by your web server. If this is not specified, vboxwebsrv will run on 127.0.0.1, which is not accessible outside of itself.
+to the command line of vboxwebsrv. Where IP.ADDRESS.OF.HOST is the IP address of your VirtualBox host, accessible by your web server. If this is not specified, vboxwebsrv will listen on localhost, which is not accessible outside of itself.

 ### VirtualBox 3.x OSE Note ###

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ian Moore</dc:creator><pubDate>Thu, 11 Dec 2014 14:25:48 -0000</pubDate><guid>https://sourceforge.net0e3090f39fae405941be48b4cf140c9252e7c471</guid></item><item><title>Home modified by Ian Moore</title><link>https://sourceforge.net/p/phpvirtualbox/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -184,7 +184,7 @@

 Please see the [Common Errors and Issues](https://sourceforge.net/p/phpvirtualbox/wiki/Common phpVirtualBox Errors and Issues/) wiki page first!

-If your error or issue is not listed, please use the [Help forums](https://sourceforge.net/apps/phpbb/phpvirtualbox/viewforum.php?f=1).
+If your error or issue is not listed, please use the [Forums](https://sourceforge.net/p/phpvirtualbox/discussion/).

 Please do not open a Bug report unless it is identified as a bug by a project member.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ian Moore</dc:creator><pubDate>Tue, 30 Jul 2013 18:02:33 -0000</pubDate><guid>https://sourceforge.netcfae73649b338d9f94f20247a675f5f68a8c49bc</guid></item><item><title>Home modified by Ian Moore</title><link>https://sourceforge.net/p/phpvirtualbox/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -96,6 +96,8 @@

 Note that *&gt;nul* is needed so that vboxwebsrv does not send its output to the command prompt window. Without it, performance will be severely degraded.

+User-contributed documentation on setting up vboxwebsrv.exe to start when your computer boots can be found [here](https://sourceforge.net/p/phpvirtualbox/wiki/Windows%207%20-%202008%20%2B%20Service/).
+
 ###OS X###

 In OS X, start Terminal (usually located in Applications -&gt; Utilities) and enter the following commands:
@@ -152,10 +154,156 @@

 by removing the ';' at the beginning of each. Then restart apache.

-###Post-installation###
-
-
-  - Rename config.php-example to config.php and edit to reflect your VirtualBox settings.
-  - Navigate to the resulting folder in your web browser.
-  - Default login is admin / admin
-
+###Basic configuration###
+
+***config.php*** in phpVirtualBox's folder on your web server tells phpVirtualBox how to communicate with your VirtualBox installation. To get started, rename config.php-example to config.php and edit it to reflect your settings. The minimal amount of configuration you will need is to specify the username and password needed, as well as the location of vboxwebsrv.
+
+    /* Username / Password for system user that runs VirtualBox */
+    var $username = 'vbox';
+    var $password = 'pass';
+    
+    /* SOAP URL of vboxwebsrv (not phpVirtualBox's URL) */
+    var $location = 'http://127.0.0.1:18083/';
+
+The username and password must be the username and password of the user that vboxwebsrv is running as. If VirtualBox and phpVirtualBox are on the same physical host, you may leave the $location setting alone. Once this is configured:
+
+  - Navigate to the resulting folder in your web browser. Typically http://your.web.server.ip/phpvirtualbox
+  - Default login is admin / admin. See [Authentication in phpVirtualBox](https://sourceforge.net/p/phpvirtualbox/wiki/Authentication%20in%20phpVirtualBox/) for more information on controlling users and passwords within phpVirtualBox.
+
+If you have any trouble, see the [Common Errors and Issues](https://sourceforge.net/p/phpvirtualbox/wiki/Common%20phpVirtualBox%20Errors%20and%20Issues/) wiki page.
+
+###Advanced configuration###
+Other configuration options and settings are well documented in config.php itself. More help can be found at:
+
+   - [Using External Authentication](https://sourceforge.net/p/phpvirtualbox/wiki/Authentication%20Modules/)
+   - [Enabling Custom VM Icons](https://sourceforge.net/p/phpvirtualbox/wiki/Custom%20VM%20Icons/)
+   - [Enabling Advanced Settings in phpVirtualBox](https://sourceforge.net/p/phpvirtualbox/wiki/Advanced%20Settings/)
+   - [Multiple Server Configuration](http://sourceforge.net/p/phpvirtualbox/wiki/Multiple%20Server%20Configuration/)
+
+#Getting Help#
+
+Please see the [Common Errors and Issues](https://sourceforge.net/p/phpvirtualbox/wiki/Common phpVirtualBox Errors and Issues/) wiki page first!
+
+If your error or issue is not listed, please use the [Help forums](https://sourceforge.net/apps/phpbb/phpvirtualbox/viewforum.php?f=1).
+
+Please do not open a Bug report unless it is identified as a bug by a project member.
+
+# Upgrading phpVirtualBox #
+
+phpVirtualBox can be "upgraded" by copying the downloaded files over your existing phpVirtualBox installation. Choose to overwrite existing files if prompted.
+
+You may wish to create an entirely new folder for a new version of phpVirtualBox and that is fine too.
+
+## Upgrading from VirtualBox 3.x to 4.x ##
+
+If you have upgraded from VirtualBox 3.2.x, you will have to run the following commands on your VirtualBox host *as the same user that runs vboxwebsrv*:
+        VBoxManage setproperty vrdeauthlibrary default 
+    
+        VBoxManage setproperty websrvauthlibrary default 
+
+***NOTE: On windows, start a command prompt and type:***
+
+        cd "%ProgramFiles%\Oracle\VirtualBox"
+
+Before entering the VBoxManage commands.
+
+## vboxwebsrv ##
+
+After upgrading, it is a good idea to stop vboxwebsrv for the time being. If you are using the startup script distributed on this site, you may run the following command:
+
+    /etc/init.d/vboxwebsrv stop
+
+If your VirtualBox host is running Linux, please see: http://sourceforge.net/p/phpvirtualbox/wiki/vboxweb-service%20Configuration%20in%20Linux/ for a new-and-improved startup script configuration.
+
+Then, start vboxwebsrv. If you are now using the vboxweb-service script described in the above link, you may run:
+
+    /etc/init.d/vboxweb-service start
+
+If you are not, you may start vboxwebsrv using the same method you had been using for VirtualBox 3.x.
+
+## Post Upgrade ##
+
+It is always a good idea to clear your web browser's cache after upgrading.
+
+
+# Translating phpVirtualBox #
+
+phpVirtualBox uses VirtualBox's translations for most of its text. This reduces the amount of text one must translate for phpVirtualBox to less than 60 items. As a result, only languages available to VirtualBox may be translated for phpVirtualBox:
+
+  * ﺎﻠﻋﺮﺒﻳﺓ    ar
+  * Български (България)        bg
+  * Català      ca
+  * Català (valencià)   ca_VA
+  * Čeština     cs
+  * Dansk       da
+  * &lt;s&gt;Deutsch     de&lt;/s&gt;
+  * Ελληνικά    el
+  * &lt;s&gt;Español     es&lt;/s&gt;
+  * Euskara     eu
+  * Suomi (Suomi)       fi
+  * &lt;s&gt;Français    fr&lt;/s&gt;
+  * Galego (España)     gl_ES
+  * Magyar      hu
+  * Bahasa Indonesia    id
+  * &lt;s&gt;Italiano    it&lt;/s&gt;
+  * &lt;s&gt;日本語      ja&lt;/s&gt;
+  * ខ្មែរ km_KH
+  * 한국어      ko
+  * Lietuvių    lt
+  * Nederlands  nl
+  * &lt;s&gt;Polski      pl&lt;/s&gt;
+  * &lt;s&gt;Português (Brasil)  pt_BR&lt;/s&gt;
+  * Português   pt
+  * Română      ro
+  * &lt;s&gt;Русский     ru&lt;/s&gt;
+  * Slovenčina  sk
+  * Српски      sr
+  * Svenska     sv
+  * Türkçe      tr
+  * Українська  uk
+  * &lt;s&gt;简体中文 (中国)     zh_CN&lt;/s&gt;
+  * &lt;s&gt;正體中文 (臺灣)     zh_TW&lt;/s&gt;
+
+Languages &lt;s&gt;crossed out&lt;/s&gt; above have already been translated for phpVirtualBox.
+
+To translate phpVirtualBox, locate a language XML file in phpVirtualBox's languages folder. For instance, de.xml. The file will have entries that look similar to:
+
+    
+    
+       
+           phpVirtualBox
+           
+               &lt;source&gt;Warning: A VirtualBox internal operation is in progress. Closing this window or navigating away from this web page may cause unexpected and undesirable results. Please wait for the operation to complete.
+               Warnung: Interne Aktion läuft. Wenn Sie dieses Fenster schließen oder diese Seite verlassen, kann das zu unerwünschten oder unbeabsichtigten Effekten führen. Bitte warten Sie bis die Aktion abgeschlossen ist.
+           
+           
+               &lt;/source&gt;&lt;source&gt;Operation Canceled
+               Aktion abgebrochen
+           
+                     ......
+
+You will see translation messages such as: 
+
+        
+           &lt;/source&gt;&lt;source&gt;Operation Canceled
+           Aktion abgebrochen
+        
+
+Text within the `&lt;/source&gt;&lt;source&gt;` tag is the text that is to be translated. The translated text goes in the `` tag. E.g.
+
+    
+       &lt;/source&gt;&lt;source&gt;Operation Canceled
+       Your translation of "Operation Canceled" goes here...
+    
+
+
+Translate the file, then send it to the mailing list. It should appear in the next version of phpVirtualBox.
+
+## Character Encoding Note ##
+
+All translations should use UTF-8 encoding.
+
+  * Using Notepad in Windows, you may select UTF-8 encoding in the Save as... dialog.
+  * Using vi, you may enter the command *:set enc=utf-8*
+
+Other text editors should have some way to change / set the encoding used.
&lt;/source&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ian Moore</dc:creator><pubDate>Thu, 25 Jul 2013 15:39:46 -0000</pubDate><guid>https://sourceforge.netc18aa698ff280f6216005ba0898a47103fdf5f94</guid></item><item><title>Home modified by Ian Moore</title><link>https://sourceforge.net/p/phpvirtualbox/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;strong&gt;Contents&lt;/strong&gt;&lt;/p&gt;
&lt;div class="toc"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#what-is-virtualbox"&gt;What is VirtualBox?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#what-is-phpvirtualbox"&gt;What is phpVirtualBox?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#getting-started"&gt;Getting started&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="#installing-virtualbox"&gt;Installing VirtualBox&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="#virtualbox-40-remote-console-access-note"&gt;VirtualBox &amp;gt;= 4.0 - Remote Console Access Note&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="#setting-up-virtualbox"&gt;Setting up VirtualBox&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="#virtualbox-3x-ose-note"&gt;VirtualBox 3.x OSE Note&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#linux"&gt;Linux&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#solaris"&gt;Solaris&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#windows"&gt;Windows&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#os-x"&gt;OS X&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="#installing-phpvirtualbox"&gt;Installing phpVirtualBox&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="#download-and-installation"&gt;Download and Installation&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="#freebsd-note"&gt;FreeBSD Note&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#other-oss"&gt;Other OSs&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#selinux-considerations"&gt;SELinux Considerations&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#arch-linux-considerations"&gt;Arch Linux Considerations&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="#post-installation"&gt;Post-installation&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;hr /&gt;
&lt;h1 id="what-is-virtualbox"&gt;What is VirtualBox?&lt;/h1&gt;
&lt;p&gt;If you are new to VirtualBox, simply put - it is virtualization software that allows one to run multiple virtual machine instances (guests) on a single physical machine (host).&lt;/p&gt;
&lt;p&gt;&lt;em&gt;"VirtualBox is a powerful x86 and AMD64/Intel64 virtualization product for enterprise as well as home use. Not only is VirtualBox an extremely feature rich, high performance product for enterprise customers, it is also the only professional solution that is freely available as Open Source Software under the terms of the GNU General Public License (GPL) version 2."&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.virtualbox.org" rel="nofollow"&gt;http://www.virtualbox.org&lt;/a&gt;&lt;/p&gt;
&lt;h1 id="what-is-phpvirtualbox"&gt;What is phpVirtualBox?&lt;/h1&gt;
&lt;p&gt;phpVirtualBox is a web-based front-end to VirtualBox that allows you to control your VirtualBox environment.&lt;/p&gt;
&lt;h1 id="getting-started"&gt;Getting started&lt;/h1&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt; &lt;span class="o"&gt;-----------------------------------------------------&lt;/span&gt;
 &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="n"&gt;Web&lt;/span&gt; &lt;span class="n"&gt;Server&lt;/span&gt;                                        &lt;span class="o"&gt;|&lt;/span&gt;
 &lt;span class="o"&gt;|&lt;/span&gt;    &lt;span class="n"&gt;phpVirtualBox&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;config&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;php&lt;/span&gt; &lt;span class="n"&gt;contains&lt;/span&gt; &lt;span class="n"&gt;VirtualBox&lt;/span&gt;  &lt;span class="o"&gt;|&lt;/span&gt;
 &lt;span class="o"&gt;|&lt;/span&gt;     &lt;span class="o"&gt;|&lt;/span&gt;              &lt;span class="n"&gt;access&lt;/span&gt; &lt;span class="n"&gt;information&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;            &lt;span class="o"&gt;|&lt;/span&gt;
 &lt;span class="o"&gt;------|----------------------------------------------&lt;/span&gt;
       &lt;span class="o"&gt;|&lt;/span&gt;
   &lt;span class="n"&gt;Authentication&lt;/span&gt; &lt;span class="n"&gt;and&lt;/span&gt; &lt;span class="n"&gt;VirtualBox&lt;/span&gt; &lt;span class="n"&gt;communication&lt;/span&gt;
       &lt;span class="o"&gt;|&lt;/span&gt;
       &lt;span class="o"&gt;|&lt;/span&gt;  &lt;span class="o"&gt;-----------------------------------------------&lt;/span&gt;
       &lt;span class="o"&gt;|&lt;/span&gt;  &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="n"&gt;VirtualBox&lt;/span&gt; &lt;span class="n"&gt;Installation&lt;/span&gt;                     &lt;span class="o"&gt;|&lt;/span&gt;
       &lt;span class="o"&gt;|&lt;/span&gt;  &lt;span class="o"&gt;|&lt;/span&gt;                                             &lt;span class="o"&gt;|&lt;/span&gt;
       &lt;span class="err"&gt;'&lt;/span&gt;&lt;span class="o"&gt;----&lt;/span&gt; &lt;span class="n"&gt;vboxwebsrv&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;running&lt;/span&gt; &lt;span class="n"&gt;as&lt;/span&gt; &lt;span class="n"&gt;user&lt;/span&gt; &lt;span class="n"&gt;X&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;             &lt;span class="o"&gt;|&lt;/span&gt;
          &lt;span class="o"&gt;|&lt;/span&gt;    &lt;span class="o"&gt;|&lt;/span&gt;                                        &lt;span class="o"&gt;|&lt;/span&gt;
          &lt;span class="o"&gt;|&lt;/span&gt;    &lt;span class="err"&gt;'&lt;/span&gt;&lt;span class="o"&gt;---&lt;/span&gt; &lt;span class="n"&gt;User&lt;/span&gt; &lt;span class="n"&gt;X&lt;/span&gt;&lt;span class="err"&gt;'&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt; &lt;span class="n"&gt;VirtualBox&lt;/span&gt; &lt;span class="n"&gt;configuration&lt;/span&gt;   &lt;span class="o"&gt;|&lt;/span&gt;
          &lt;span class="o"&gt;|&lt;/span&gt;         &lt;span class="n"&gt;and&lt;/span&gt; &lt;span class="n"&gt;virtual&lt;/span&gt; &lt;span class="n"&gt;machines&lt;/span&gt;                &lt;span class="o"&gt;|&lt;/span&gt;
          &lt;span class="o"&gt;|&lt;/span&gt;                                             &lt;span class="o"&gt;|&lt;/span&gt;
          &lt;span class="o"&gt;-----------------------------------------------&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Since communication is performed over the network, phpVirtualBox and VirtualBox do not &lt;strong&gt;HAVE&lt;/strong&gt; to reside on the same physical machine. Though, in most cases, they do. phpVirtualBox can even control multiple VirtualBox installations running on multiple hosts.&lt;/p&gt;
&lt;h2 id="installing-virtualbox"&gt;Installing VirtualBox&lt;/h2&gt;
&lt;p&gt;First you will need to install VirtualBox from &lt;a href="http://www.virtualbox.org." rel="nofollow"&gt;http://www.virtualbox.org.&lt;/a&gt; Any questions regarding VirtualBox or its installation should be raised at the support forums on the VirtualBox web site.&lt;/p&gt;
&lt;h3 id="virtualbox-40-remote-console-access-note"&gt;VirtualBox &amp;gt;= 4.0 - Remote Console Access Note&lt;/h3&gt;
&lt;p&gt;In order to access a VM's console over RDP (via phpVirtualBox's console tab, or other RDP client) you must install the &lt;em&gt;Oracle VM VirtualBox Extension Pack&lt;/em&gt; from: &lt;a href="http://www.virtualbox.org/wiki/Downloads" rel="nofollow"&gt;http://www.virtualbox.org/wiki/Downloads&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Please refer to VirtualBox's documentation for instructions on installing extension packs.&lt;/p&gt;
&lt;h2 id="setting-up-virtualbox"&gt;Setting up VirtualBox&lt;/h2&gt;
&lt;p&gt;phpVirtualBox requires that vboxwebsrv (a program distributed with VirtualBox) is running on your VirtualBox host. On &lt;code&gt;*&lt;/code&gt;nix hosts, this is typically found in /usr/bin. On Windows, it is typically found in C:\Program Files\Oracle\VirtualBox. This program MUST be run as the same user that administers your VirtualBox virtual machines. On Windows and OS X, this simply means the same user that you log into your machine as when you run VirtualBox.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;NOTE&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If your web server and your VirtualBox installation are on 2 different hosts, you may need to add:&lt;/p&gt;
&lt;p&gt;-H IP.ADDRESS.OF.HOST&lt;/p&gt;
&lt;p&gt;to the command line of vboxwebsrv. Where IP.ADDRESS.OF.HOST is the IP address of your VirtualBox host, accessible by your web server. If this is not specified, vboxwebsrv will run on 127.0.0.1, which is not accessible outside of itself.&lt;/p&gt;
&lt;h3 id="virtualbox-3x-ose-note"&gt;VirtualBox 3.x OSE Note&lt;/h3&gt;
&lt;p&gt;For &lt;em&gt;VirtualBox 3.x OSE&lt;/em&gt; users, you must execute the following command:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;   &lt;span class="n"&gt;VBoxManage&lt;/span&gt; &lt;span class="n"&gt;setproperty&lt;/span&gt; &lt;span class="n"&gt;websrvauthlibrary&lt;/span&gt; &lt;span class="n"&gt;null&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;This disables authentication for vboxwebsrv. At the moment, this is the only way for an application to communicate with the OSE version of vboxwebsrv. Taking security into consideration, only run vboxwebsrv OSE on a non-public network. &lt;/p&gt;
&lt;p&gt;If you are not sure whether or not you are running the OSE version of VirtualBox, you can run:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;vboxwebsrv&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;h&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;If the first line contains "OSE" (e.g. Oracle VM VirtualBox web service version x.x.x_OSE), you are running the OSE version of VirtualBox.&lt;/p&gt;
&lt;h3 id="linux"&gt;Linux&lt;/h3&gt;
&lt;p&gt;Linux users should use the instructions for vboxweb-service found at &lt;a href="https://sourceforge.net/p/phpvirtualbox/wiki/vboxweb-service%20Configuration%20in%20Linux/"&gt;https://sourceforge.net/p/phpvirtualbox/wiki/vboxweb-service%20Configuration%20in%20Linux/&lt;/a&gt;&lt;/p&gt;
&lt;h3 id="solaris"&gt;Solaris&lt;/h3&gt;
&lt;p&gt;Assuming your VirtualBox installation is run by the user &lt;em&gt;vbox&lt;/em&gt; and vboxwebsrv is located in /opt/VirtualBox, you may start vboxwebsrv by running the following command as &lt;em&gt;vbox&lt;/em&gt;:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;opt&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;VirtualBox&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;vboxwebsrv&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;logfile&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;dev&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;null&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;/&lt;/span&gt;&lt;span class="n"&gt;dev&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;null&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Solaris users will also have to follow the same instructions outlined in the VirtualBox OSE section above, or vboxwebsrv will fail to authenticate.&lt;/p&gt;
&lt;h3 id="windows"&gt;Windows&lt;/h3&gt;
&lt;p&gt;On Windows (assuming your VirtualBox installation is located in C:\Program Files\Oracle\VirtualBox), the following command will start vboxwebsrv:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;   &lt;span class="s"&gt;&amp;quot;%ProgramFiles%\Oracle\VirtualBox&lt;/span&gt;&lt;span class="se"&gt;\v&lt;/span&gt;&lt;span class="s"&gt;boxwebsrv.exe&amp;quot;&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="n"&gt;nul&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Note that &lt;em&gt;&amp;gt;nul&lt;/em&gt; is needed so that vboxwebsrv does not send its output to the command prompt window. Without it, performance will be severely degraded.&lt;/p&gt;
&lt;h3 id="os-x"&gt;OS X&lt;/h3&gt;
&lt;p&gt;In OS X, start Terminal (usually located in Applications -&amp;gt; Utilities) and enter the following commands:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;  &lt;span class="n"&gt;cd&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;Applications&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;VirtualBox&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;app&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;Contents&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;MacOS&lt;/span&gt;

  &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;vboxwebsrv&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;/&lt;/span&gt;&lt;span class="n"&gt;dev&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;null&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Running /usr/bin/vboxwebsrv or not running the command from within /Applications/VirtualBox.app/Contents/MacOS seems to crash vboxwebsrv&lt;/p&gt;
&lt;h2 id="installing-phpvirtualbox"&gt;Installing phpVirtualBox&lt;/h2&gt;
&lt;p&gt;phpVirtualBox requires a web server with PHP &amp;gt;= 5.1.0 installed in order to run. If you do not already have a PHP-capable web server running, &lt;a class="" href="https://sourceforge.net/p/phpvirtualbox/wiki/Web%20server%20and%20PHP%20installation/"&gt;this&lt;/a&gt; may help you get started.&lt;/p&gt;
&lt;hr /&gt;
&lt;h3 id="download-and-installation"&gt;Download and Installation&lt;/h3&gt;
&lt;h4 id="freebsd-note"&gt;FreeBSD Note&lt;/h4&gt;
&lt;p&gt;Thanks to Bernhard Fröhlich for his time and effort in creating the FreeBSD port.&lt;/p&gt;
&lt;p&gt;To install the port:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;cd&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;usr&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;ports&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;www&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;phpvirtualbox&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="n"&gt;make&lt;/span&gt; &lt;span class="n"&gt;install&lt;/span&gt; &lt;span class="n"&gt;clean&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;To add the package:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;pkg_add&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="n"&gt;phpvirtualbox&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;hr /&gt;
&lt;h4 id="other-oss"&gt;Other OSs&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Download the latest version of phpVirtualBox from the Files tab&lt;/li&gt;
&lt;li&gt;Unzip the downloaded file and copy the resulting files / folders to a folder accessible by your &lt;a class="" href="https://sourceforge.net/p/phpvirtualbox/wiki/Web%20server%20and%20PHP%20installation/"&gt;web server&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id="selinux-considerations"&gt;SELinux Considerations&lt;/h4&gt;
&lt;p&gt;If SELinux is installed and you would like to keep it enabled, you may have to add a rule for vboxwebsrv.&lt;/p&gt;
&lt;p&gt;Install semanage (yum install policycoreutils-python) and run the command below:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;semanage&lt;/span&gt; &lt;span class="n"&gt;port&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;t&lt;/span&gt; &lt;span class="kt"&gt;http_port_t&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="n"&gt;tcp&lt;/span&gt; &lt;span class="mi"&gt;18083&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;This will add the VirtualBox's web service port (18083) to be accessible by a service running in an http context (eg. apache).&lt;/p&gt;
&lt;h4 id="arch-linux-considerations"&gt;Arch Linux Considerations&lt;/h4&gt;
&lt;p&gt;In Arch Linux, be sure to edit /etc/php/php.ini, and uncomment the following lines:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="p"&gt;;&lt;/span&gt;&lt;span class="n"&gt;extension&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;so&lt;/span&gt;
&lt;span class="p"&gt;;&lt;/span&gt;&lt;span class="n"&gt;extension&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;soap&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;so&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;by removing the ';' at the beginning of each. Then restart apache.&lt;/p&gt;
&lt;h3 id="post-installation"&gt;Post-installation&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Rename config.php-example to config.php and edit to reflect your VirtualBox settings.&lt;/li&gt;
&lt;li&gt;Navigate to the resulting folder in your web browser.&lt;/li&gt;
&lt;li&gt;Default login is admin / admin&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ian Moore</dc:creator><pubDate>Thu, 25 Jul 2013 15:05:38 -0000</pubDate><guid>https://sourceforge.net8e236f49147a01b9a7ce63b9df5f7286ee7ccf41</guid></item></channel></rss>