Home > other >  Consult libvirt - PHP shows part of the API function is undefined and connection problems
Consult libvirt - PHP shows part of the API function is undefined and connection problems

Time:09-26

Libvirt - PHP deployments in XEN server in a virtual machine CENTOS

Question 1
Libvirt_connect ($url, $readonly) libvirt_node_get_info ($conn), and other functions can be run
Libvirt_connect ($url, 0, $credentials) in the third parameter if you define an array ($user and $PWD) to show what is unable to connect so credentials should form an array of???????

Question 2
Some function can't run shows undefined function such as libvirt_connect_get_machine_types ($conn)

Already in PHP. Ini added libvirt - PHP. So

To solve the thank you

CodePudding user response:

Resolved
Configuration libvirtd. Conf
Validation way to sasl
Sasl is added in the system account password
  • Related