Displaying 1 result from an estimated 1 matches for "php_libvirt_php".
2016 Jun 12
1
How to use PHP libvirt_connect?
I'm having a go at writing some PHP scripts to do simple things like view
the status of VMs running on my Ubuntu KVM host.
I've installed php_libvirt_php but am failing at the first hurdle at the
moment as I can't get the PHP script to connect.
My normal way of connecting virsh from the command line is like this:
$ virsh -c qemu+ssh://localhost/system
This asks for a password which is fine as I'm doing it from the command
line.
I can'...