Scarabaeus
New Pleskian
Hey guys,
I'm currently trying to create subdomains, databases and database users via the XML API. The Problem is: The API only seems to work sporadically somehow.
These are the issues I experienced:
Sometimes the connection is interrupted when creating a subdomain (the subdomain itself is created by Plesk), sometimes I get no valid (incomplete) XML response when creating a database user and sometimes everything runs just fine.
This is my XML to create a subdomain: http://pastebin.com/cUK4RpCn
And this is my XML to create a database user: http://pastebin.com/2fJPhCe1
I'm using the PHP ApiClient to send the XML: https://github.com/plesk/api-examples/blob/master/php/PleskApiClient.php
I think that the Apache webserver is responsible for the issues but by checking the logfiles I found nothing suspicious that would help me to solve my problems and I'm running out of options. The environment is a standard LAMP stack (PHP 5.6.2) on a Ubuntu 12.04 server.
I hope you can help me with that.
Greetings
I'm currently trying to create subdomains, databases and database users via the XML API. The Problem is: The API only seems to work sporadically somehow.
These are the issues I experienced:
Sometimes the connection is interrupted when creating a subdomain (the subdomain itself is created by Plesk), sometimes I get no valid (incomplete) XML response when creating a database user and sometimes everything runs just fine.
This is my XML to create a subdomain: http://pastebin.com/cUK4RpCn
And this is my XML to create a database user: http://pastebin.com/2fJPhCe1
I'm using the PHP ApiClient to send the XML: https://github.com/plesk/api-examples/blob/master/php/PleskApiClient.php
I think that the Apache webserver is responsible for the issues but by checking the logfiles I found nothing suspicious that would help me to solve my problems and I'm running out of options. The environment is a standard LAMP stack (PHP 5.6.2) on a Ubuntu 12.04 server.
I hope you can help me with that.
Greetings