Is there a way to do ISPConfig admin functions from a command line, for example, adding a client, setup of initial settings, etc..? I would like my billing/provisioning server to be able to signup the customer then create the account package settings they chose on the ISPConfig server and if they dont pay or close their account the provisioning server will close the account.
(Please excuse my noob questions).. I have looked over the examples and being I have never used soap before, I am a little confused on the usage. So let me ask you this, after i create the "soap-add-client.php" with my user information, do I just run it as: "http://192.168.10.189:8080/remote/soap-add-client.php" ? or have I missed something?
Posts: 31,872
Thanks: 689
Thanked 4,182 Times in 3,201 Posts
No, you dont put this script into the ispconfig remote folder. The script is just an example, you take the code from that script and add it inside your cms system or script from where you want to create the users. This code will then do a tcp connection to ispconfig by using the SOAP protocol to create the client.
Ok I have the scripts on the provisioning server, I created a test soap-add-client.php script and ran it and it creates a empty account. I have the ISPConfig server set for debug logging, but I am currently seeing nothing in the logs about the script, error or otherwise. Is there a particular log I need to look at to track down my issue. on the provisioning server i run the script as 'php ./soap-add-client.php' and it gives me a session id and then a very brief pause the logs out.
Recent comments
1 day 7 hours ago
1 day 10 hours ago
1 day 11 hours ago
1 day 12 hours ago
1 day 14 hours ago
1 day 15 hours ago
1 day 17 hours ago
2 days 9 hours ago
2 days 9 hours ago
2 days 13 hours ago