Page 1 of 1

PHP VirtualBox -- No SOAP

Posted: Tue Dec 28, 2010 9:51 am
by bpbreedlove
I followed the guide Here: http://wiki.amahi.org/index.php/PhpVirtualBox to install PHPVirtualBox, however, when i navigate to to http://phpvb, I get an error: PHP does not have the SOAP extension enabled. Below is the "Details" from the error. Near fresh install of Amahi, with only one other open issue with MediaWiki that is unrelated.

I don't really know where to begin... I'm very new to the Fedora world, and relatively new to the Linux world. I've run several flavors of linux within VM's (Windows and Mac Hosts) over the past several years, but I am trying to make the jump to Linux as my primary OS, but have several minor windows applications that I cannot live/work without yet (hence the need for a Windows guest VM).

Any help would be greatly appreciated.

Code: Select all

Exception Object ( [message:protected] => PHP does not have the SOAP extension enabled. [string:Exception:private] => [code:protected] => 32 [file:protected] => /var/hda/web-apps/phpvb/html/lib/vboxconnector.php [line:protected] => 180 [trace:Exception:private] => Array ( [0] => Array ( [file] => /var/hda/web-apps/phpvb/html/lib/ajax.php [line] => 93 [function] => __call [class] => vboxconnector [type] => -> [args] => Array ( [0] => getHostDetails [1] => Array ( [0] => Array ( [fn] => getHostDetails ) [1] => Array ( [0] => Array ( [data] => Array ( ) [errors] => Array ( ) [persist] => Array ( ) ) ) ) ) ) [1] => Array ( [file] => /var/hda/web-apps/phpvb/html/lib/ajax.php [line] => 93 [function] => getHostDetails [class] => vboxconnector [type] => -> [args] => Array ( [0] => Array ( [fn] => getHostDetails ) [1] => Array ( [0] => Array ( [data] => Array ( ) [errors] => Array ( ) [persist] => Array ( ) ) ) ) ) ) [previous:Exception:private] => )

Re: PHP VirtualBox -- No SOAP

Posted: Tue Dec 28, 2010 10:27 am
by bigfoot65
Sorry, left out the dependency in the wiki. It has been corrected. You need to do the following as root user:

yum -y install php-soap

That will correct the soap issue. Also, note this does not work with VirtualBox 4.0 yet according to their web site.

Re: PHP VirtualBox -- No SOAP

Posted: Tue Dec 28, 2010 1:16 pm
by bpbreedlove
Bigfoot, Thanks so much for your quick replies! But it looks like I am not quite out of the woods yet. Installed soap, reboot, then tried again:

An error occurred communicating with your vboxwebsrv. No more requests will be sent by phpVirtualBox until the error is corrected and this page is refreshed. The details of this connection error should be displayed in a subsequent dialog box.

I am going to walk back through the steps again to see if there was something I missed, possibly a misspelled password or something, but I went ahead and posted this in case there is osmething less obvious about this.

Code: Select all

Exception Object ( [message:protected] => Could not connect to host [string:Exception:private] => [code:protected] => 32 [file:protected] => /var/hda/web-apps/phpvb/html/lib/vboxconnector.php [line:protected] => 111 [trace:Exception:private] => Array ( [0] => Array ( [file] => /var/hda/web-apps/phpvb/html/lib/vboxconnector.php [line] => 1379 [function] => __vboxwebsrvConnect [class] => vboxconnector [type] => -> [args] => Array ( ) ) [1] => Array ( [file] => /var/hda/web-apps/phpvb/html/lib/vboxconnector.php [line] => 218 [function] => getHostDetailsCached [class] => vboxconnector [type] => -> [args] => Array ( [0] => Array ( [fn] => getHostDetails ) [1] => Array ( [data] => [errors] => Array ( ) [persist] => Array ( ) ) ) ) [2] => Array ( [file] => /var/hda/web-apps/phpvb/html/lib/ajax.php [line] => 93 [function] => __call [class] => vboxconnector [type] => -> [args] => Array ( [0] => getHostDetails [1] => Array ( [0] => Array ( [fn] => getHostDetails ) [1] => Array ( [0] => Array ( [data] => [errors] => Array ( ) [persist] => Array ( ) ) ) ) ) ) [3] => Array ( [file] => /var/hda/web-apps/phpvb/html/lib/ajax.php [line] => 93 [function] => getHostDetails [class] => vboxconnector [type] => -> [args] => Array ( [0] => Array ( [fn] => getHostDetails ) [1] => Array ( [0] => Array ( [data] => [errors] => Array ( ) [persist] => Array ( ) ) ) ) ) ) [previous:Exception:private] => )

Re: PHP VirtualBox -- No SOAP

Posted: Tue Dec 28, 2010 3:04 pm
by bigfoot65
Ok, make sure the user name and password is that of the same one you used to install VirtualBox.

It is very picky and sometimes does not play well.