求助:phpvirtualbox配置问题

Kvm、VMware、Virtualbox、Xen、Qemu 等
回复
micro_cy
帖子: 104
注册时间: 2011-07-20 11:33

求助:phpvirtualbox配置问题

#1

帖子 micro_cy » 2016-04-28 14:46

本人配置好了vbox,使用的是4.3的版本,桌面环境可以正常使用了,想使用 PHPvirtualbox进行远程管理,但是配置后出现错误:

looks like we got no XML document (http://127.0.0.1:18083/)

不知道怎么解决,看了官方的解释,说配置文件的写法格式有问题,如下:
https://sourceforge.net/p/phpvirtualbox ... l-document
==================================================
looks like we got no XML document
This message occurs when the $location setting in config.php is incorrect. The most common cause is that it is set to the location of phpVirtualBox rather than the SOAP URL of vboxwebsrv.
There are 2 locations involved. One is the URL that phpVirtualBox is accessible through, and the other is the URL through which phpVirtualBox communicates with vboxwebsrv. The $location setting in config.php needs to be set to the URL to vboxwebsrv.
The setting probably looks something like this:
var $location = 'http://localhost/phpvirtualbox/';
but needs to look like this:
var $location = 'http://127.0.0.1:18083/';
The URL through which phpVirtualBox is accessible does not need to be specified.
==================================================
回复