There is a script in php, when it is executed, stop and then start the Apache server. And the Apache is restarted on the same server on which the script is running. the script actually runs the batch file, which is a stop-start apache. With the help of what you can do so that when you run this script, there is a wait and then return to the same page. In fact, this is approximately done on home routers, when you press the restart button and the waiting slider appears and then return to the same page after the router restarts.

    1 answer 1

    JavaScript should periodically send Ajax requests. As soon as the request was executed without errors - the server started