I just made a fresh install of Ubuntu Server 16.04 and couldnt make phpVirtualBox work. I followed this tutorial https://linuxconfig.org/phpvirtualbox-installation-on-debian-linux-and-apache2-web-server which worked well on Ubuntu 15.10. I only replaced libapache2-mod-php5 for libapache2-mod-php because Ubuntu 16.04 doesnt support php5 anymore.
When accessing from my browser, I got the following error:
"An unknown PHP error occurred. This is most likely a syntax error in config.php in phpVirtualBox's folder. ..."
On config.php the only changes I made was the user and password so I dont believe I have any sintax error.
Would that be an incompatibility with php7.0 that is used on Ubuntu 16.04? if so, how can I correct it?
There's a plugin missing in 16.04. Just install php-xml and you're fine:)
That worked. thank you very much.
I have same problem but on Debian/Jessie. Since there is not php-xml package on Debian/Jessie can you suggest what else can be a problem?
Log in to post a comment.
I just made a fresh install of Ubuntu Server 16.04 and couldnt make phpVirtualBox work.
I followed this tutorial https://linuxconfig.org/phpvirtualbox-installation-on-debian-linux-and-apache2-web-server which worked well on Ubuntu 15.10. I only replaced libapache2-mod-php5 for libapache2-mod-php because Ubuntu 16.04 doesnt support php5 anymore.
When accessing from my browser, I got the following error:
"An unknown PHP error occurred. This is most likely a syntax error in config.php in phpVirtualBox's folder. ..."
On config.php the only changes I made was the user and password so I dont believe I have any sintax error.
Would that be an incompatibility with php7.0 that is used on Ubuntu 16.04? if so, how can I correct it?
There's a plugin missing in 16.04.
Just install php-xml and you're fine:)
Last edit: Bastian Söllmann 2016-04-28
That worked. thank you very much.
I have same problem but on Debian/Jessie. Since there is not php-xml package on Debian/Jessie can you suggest what else can be a problem?