• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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