• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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