php

  1. Using The MailGateway API

    Hey Guys, I am having a very hard time understanding the proxmox mail gateway's api calls... I am 99% sure it's just me, so hopefully someone can help me? How can I call for example the login function, and the GET /api2/json/config/domains/ function afterwards? Also do I need to allow an IP...
  2. Proxmox VPE API - IP Configuration Failed

    Hello everyone, I need help please. So, today I've been wrote script for update ip configuration using Proxmox VPE APi. I've read this the documentation https://pve.proxmox.com/pve-docs/api-viewer/index.html. From the parameter explanation, we can add the ip configuration with ipconfig[n]. It...
  3. PHP API VncProxy und VncWebSocket

    Guten Tag, ich bin mittlerweile mit meinen nerven am Ende. Ich versuche gerade über meinen WebServer eine VNC Verbindung zum Proxmox Server aufzubauen. Steuerungen wie neustarten und stoppen von VMs mittels der Api funktioniert. Allerdings das einbinden der VNC geht nicht. Aber ich verstehe...
  4. API - Add user to VM as Administrator

    Hello. I am trying to integrate Proxmox API into a PHP based tool we have, and I have been able to create a virtual machine, start it up and create a user. I want to add the created user to the created VM as an administrator of that machine. $fields = array( 'user' =>...
  5. Get current status without table of VM/LXC

    Hello, Unable to retrieve data about the status of the machine, unfortunately no longer. The reason for this is that Proxmox version change. Before: root@prox:~# pvesh get /nodes/prox/lxc/101/status/current running root@prox:~# So I could get data with PHP but with the new version it has...
  6. LXC networking problem

    We have 5 physical machines hosted at OVH. Each of them have Proxmox 5.2-10 installed Machines are inside of OVH vRack. we have separate LXC for database, separate LXC with loadbalancer and several separate instances with our web application stack (php and nginx). When we put more LXCs with...
  7. Undefined offset: 1

    Hello, I'm trying to upload an iso image to proxmox server via web api using CpuID/pve2-api-php-client but it seems it's always error in "Undefined offset:1" any solution for it? this is my code include (app_path().'/pve2-api-php-client/pve2_api.class.php'); $pve2 = new...
  8. [SOLVED] Proxmox PHP API - Create lxc container.

    Hello, I have a problem with creation of LXC container via PHP. API is connectig correctly with pve, because i can start / stop existing container, i am able to list nodes, and check what VIM is next. but while creating LXC i receive bool(false) value. My code look's like that: <?php require...
  9. Release of ProxmoxVE Client Api ,Net/Php/Java

    Hello everyone, I created from documentation the Client Api in 3 languages. For now, supported languages are .Net, Php, Java. For details see: https://github.com/EnterpriseVE/eve2pve-api-dotnet https://github.com/EnterpriseVE/eve2pve-api-php https://github.com/EnterpriseVE/eve2pve-api-java...
  10. API ends everytime with ssl3_get_server_certificate

    The api (PHP) open the connection to the host and I see they get back time infos and something. The the api send a create statement and then I get every back the certificate error. I see in the host, that the remote host could not verify the certificate: HTTP/1.1 200 OK Cache-Control: max-age=0...

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!