php

  1. J

    Proxmox api problem

    Hello, I have created a client area to automatically create a vm when a client order one. The code is written in php and I am using the zzantares proxmox php library. Here is the code of the creation in the proxmox side of my vm : public function createVM(string $id_service, int $userid, int...
  2. P

    No DNS with PHP in LXC

    I cannot make DNS queries with PHP in LXC containers, in VM's it works without problems. I have not changed anything in the Proxmox firewall settings, everything is set to default. Normal DNS queries with "ping" work fine with PHP but not, What could be the problem?
  3. SpeakEZ.ai

    Proxmox support site - new tickets don't show in list

    I'm a relatively new subscriber trying to get through Ceph install issues - and ended up having to open a pair of tickets in order to re-issue come licenses. After I was done I noticed that the page that should list open tickets was blank. I logged back in and refreshed the page and - yup -...
  4. P

    Proxmox 8 API exec not working

    Hello everyone, we use the API in Proxmox quite extensively, especially the agent -> exec function to execute commands in VMs. After upgrading from Proxmox 7 to Proxmox 8, this specific function no longer works properly, we get specifically: array(2) { ["data"]=> NULL ["errors"]=>...
  5. N

    [SOLVED] Revoke API Tickets

    Hello Im using PHP for connecting to the Proxmox API. Since the construction on how PHP is build, that means that there is at every page reload a new Connection with new ticket created (i think?) So now im wondering if its possible to revoke a API ticket after every request and get a new one...
  6. parrotassassin15

    [TUTORIAL] How to set up noVNC on a web application.

    A little back story I have had many issues with setting up noVNC after countless hours of research I finally got everything working as designed. I would like to post a quick walkthrough of how I did this so people in the future will have less issues. I am using the following API Wrapper for...
  7. I

    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...
  8. I

    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...
  9. D

    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...
  10. M

    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' =>...
  11. E

    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...
  12. O

    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...
  13. S

    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...
  14. S

    [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...
  15. F

    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...
  16. V

    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, Proxmox Backup Server, 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 yours easily in our online shop.

Buy now!