[Libvir] PHP bindings for libvirt API?

Hello, Does anyone have information about a mean to plug libvirt into PHP? Maybe we could just issue shell commands to "virsh", but it would be preferable to have direct access to the API. Thanks for any information you could give. Regards, Bruno

On Thu, Mar 27, 2008 at 02:23:28PM +0100, BrunoM wrote:
Hello,
Does anyone have information about a mean to plug libvirt into PHP? Maybe we could just issue shell commands to "virsh", but it would be preferable to have direct access to the API.
Someone would need to write bindings for PHP, but nobody stepped up yet :-) Daniel -- Red Hat Virtualization group http://redhat.com/virtualization/ Daniel Veillard | virtualization library http://libvirt.org/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/

On Thu, Mar 27, 2008 at 02:23:28PM +0100, BrunoM wrote:
Does anyone have information about a mean to plug libvirt into PHP? Maybe we could just issue shell commands to "virsh", but it would be preferable to have direct access to the API.
It's been asked before and I guess it is the next major language to support from libvirt. However unless someone starts a project to write these bindings it won't happen. Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://et.redhat.com/~rjones/virt-top

Richard W.M. Jones wrote:
On Thu, Mar 27, 2008 at 02:23:28PM +0100, BrunoM wrote:
Does anyone have information about a mean to plug libvirt into PHP? Maybe we could just issue shell commands to "virsh", but it would be preferable to have direct access to the API.
It's been asked before and I guess it is the next major language to support from libvirt. However unless someone starts a project to write these bindings it won't happen.
Rich.
You're right, the best thing to do would be to start up a project team for that. I'm sorry I have no time for this now, I hope I will, soon. Have a nice week-end Bruno
participants (4)
-
Bruno (libvirt)
-
BrunoM
-
Daniel Veillard
-
Richard W.M. Jones