8 reputation
117
bio website
location Pakistan
age 25
visits member for 2 years, 10 months
seen Feb 28 at 12:52

Oct
24
awarded  Famous Question
Sep
2
awarded  Popular Question
Jul
17
awarded  Popular Question
Mar
20
awarded  Notable Question
Oct
12
awarded  Popular Question
Jul
21
asked Download softwares along with dependancy
Jun
29
comment How to Install libvirt-php?
Could you tell me how to create a new domain? From PHP API Reference guide: (libvirt.org/php/api-reference.html) I have seen these functions: (i) libvirt_image_create($conn, $name, $size, $format) (ii) libvirt_domain_new($conn, $name, $arch, $memMB, $maxmemMB, $vcpus, $iso_image, $disks, $networks, $flags) (iii) libvirt_domain_create($res) (iv) libvirt_domain_create_xml($conn, $xml) The problem I am facing is that i dont know the steps to create a new domain. Either I have to create a new image first using libvirt_image_create .... or something else.
Jun
29
asked Libvirt-php Creating Domain
Jun
29
awarded  Commentator
Jun
29
comment How to Install libvirt-php?
Thank u so much. I have installed extensions.
Jun
29
accepted How to Install libvirt-php?
Mar
28
awarded  Scholar
Mar
28
accepted Destroy guest OS using php
Mar
26
comment How do I run Apache as root?
I have only read only access thats why I want to login as root to run these type of actions.
Mar
26
comment How do I run Apache as root?
I am working on xen virtualization.I am using LIBVIRT-PHP to talk with hypervisor to start create destroy etc etc. For this I used this php-script: <?php $conn=libvirt_connect("xen:///"); $name=libvirt_domain_lookup_by_id($conn,3); $dest=libvirt_domain_destroy($name); echo $dest; ?> When I execute this it shows me: Warning: libvirt_domain_destroy() [function.libvirt-domain-destroy]: operation virDomainDestroy forbidden for read only access in /opt/lampp/htdocs/xampp/shutdown.php on line 5
Mar
26
comment Destroy guest OS using php
Yes you are right. Lets come to the xampp server. When I execute echo whoami; in Terminal, output: root. This verifies that I am logged in as root user. But when I execute this php-script < ?php echo whoami; ?> output: nobody. So did u know how to login as root in apache web server? Or how to make user and assign admin/root privileges?
Mar
26
asked How do I run Apache as root?
Mar
25
asked Destroy guest OS using php
Mar
19
awarded  Tumbleweed
Mar
18
comment Un-install ubuntu server and grub menu
Oh! great.. Let me try thisss.. Thanks