When trying to use VBoxManage from php shell_exec (Apache under Ububntu 14.04), all created virtual machines are not visible in VirtualBox, they live their own life (probably belong to another user or group).

How do I properly create virtual machines from php using VBoxManage so that they are visible in VirtualBox and vice versa: create virtual machines in the virtualbox that will be visible when calling VBoxManage list vms from php?

  • one
  • Solved the problem by creating a common group and user for virtual machines. In the settings apache set the desired group and user. - Maxim Gugaev

0