• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Plesk API problem

revyn112

New Pleskian
Hello,

im using the "PleskApiClient.php" to create new subdomains via my own backend interface.
(To get back all needed informations ids for subdomain, database etc. to save in my database).

In my first attempt, I always had the problem that the connection was interrupted to the server.
So i found out via google, that i have to increase the time for apache restart interval (i set it to 900 seconds). Then the script do the his job as expected, but the script interrupted the connection just for the first subdomain in the interval.

Next i read, that i have to set the "graceful restart" to true, but this didn't help. At the first creation of a subdomain (within the 900 seconds restart) i get permanently the interrupted to the server, but now the apache restart isn't restarted (Apache Server uptime: 17 hours 43 minutes 34 seconds).

Anybody have an idea what i can do now, so that the server don't interrupted the connection and i can work with the response data?

Greetings, Denis
 
Back
Top