Menu

After update to ubuntu server 16.04 - phpvirtualbox is not working.

Help
Paul
2016-04-23
2016-10-25
  • Paul

    Paul - 2016-04-23

    Hello. I have a Problem. When I tried to login, I have "An unknown PHP error occurred. This is most likely a syntax error in config.php in phpVirtualBox's folder. The most common errors are an unclosed quote or a missing semicolon in a configuration item that has been entered (e.g. location, username, or password).
    Depending on your PHP configuration, navigating directly to config.php in your web browser may display the PHP error message.
    " ERROR... I tried to downgrade from php7 to php5.6 - but have error about SOAP. And I understand, that php5 not supported by ubuntu till 16.04.

    Thanks for your product, I hope - you can try to check this issue.

     
  • Hernan Zava

    Hernan Zava - 2016-04-25

    same issue solved installing php-xml

    sudo apt-get install php-xml

     
  • Rich Bos

    Rich Bos - 2016-04-27

    I too had the same issue but managed to get it working by checking all the php requirements were met.

    However I am as yet unable to get the 'console' working in any browser.

     

    Last edit: Rich Bos 2016-04-27
  • Stefan Wurm

    Stefan Wurm - 2016-08-05

    I updated my Ubuntu Server to 16.04 today and I have the same problem now.
    An "apt install php-xml" didn`t work. It made no difference.

     
  • Steven Swarts

    Steven Swarts - 2016-08-06

    I also just upgraded to Xenial. Added php-xml and still no joy. I presume my system is now missing something which it had previously?

     
  • Stefan Wurm

    Stefan Wurm - 2016-08-08

    Hello Steven,
    what exactly is it, that has to be installed?
    Thank you in advise

     
  • Stefan Wurm

    Stefan Wurm - 2016-08-08

    I know now. The missing parts are: libapache2-mod-php7.0 and php7.0-soap

     
  • Eduardo Caron

    Eduardo Caron - 2016-09-02
    apt-get -y install apache2 libapache2-mod-php7.0 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libapr1 php7.0-common php7.0-mysql php7.0-soap php-pear wget php-xml php-soap
    

    and

    service apache2 restart
    

    didn't solve the "config.php" error in ubuntu server 16.04 with php7

     

    Last edit: Eduardo Caron 2016-09-02
  • Chris

    Chris - 2016-09-07

    Not sure it helps, but I banged my head against Ubuntu 16.04 and phpvirtualbox for DAYS. It seems "they" are still working the wrinkles out of systemd and vboxweb-service.

    Also ensure you are NOT running VBox 5.1x -- if you try workarounds to make it work with phpvirtualbox 5.0x (comment out version checks,etc) it can send you down a bad road of hacking about in endpoints\api.php -- once I got everything back to a known good config -- PHPVB 5.0x and VB 5.0x with only VB 5.0x extensions, I was able to only fight with vboxweb-service -- eventually settling on the fact that running the start script (/usr/lib/virtualbox/vboxweb-service.sh) worked great, but something isn't quite kosher with the service descriptor for systemd (/lib/systemd/system/vboxweb-service.service).

     
  • Kevin

    Kevin - 2016-10-25

    Thanks for this post - it worked for me after some trying.

    One error I had that maybe others on the thread may learn from is upgrading to phpVirtualBox 5.05 for PHP 7.0 support. I had been pulling my hair out trying to figure out why I couldn't get by the config.php error (I had v5.04 installed). Upgrading to 5.05, and ensuring php-xml and php-soap were installed and active did the trick (FYI - confirm that both php-xml and php-soal are active - I created a simple test.php with phpinfo(); in the body to confirm). Hope this helps someone.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.