PHP VirtualBox -- No SOAP

bpbreedlove
Posts: 3
Joined: Tue Dec 28, 2010 8:08 am

PHP VirtualBox -- No SOAP

Postby bpbreedlove » Tue Dec 28, 2010 9:51 am

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] => )
Last edited by bpbreedlove on Tue Dec 28, 2010 1:13 pm, edited 1 time in total.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: PHP VirtualBox -- No SOAP

Postby bigfoot65 » Tue Dec 28, 2010 10:27 am

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

bpbreedlove
Posts: 3
Joined: Tue Dec 28, 2010 8:08 am

Re: PHP VirtualBox -- No SOAP

Postby bpbreedlove » Tue Dec 28, 2010 1:16 pm

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] => )

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: PHP VirtualBox -- No SOAP

Postby bigfoot65 » Tue Dec 28, 2010 3:04 pm

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 22 guests